X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=blobdiff_plain;f=source%2Fcommon%2Fsvrblist.cpp;h=802b89c5f63a0eda7280e988f1251edfbbcedd63;hp=97163af40bb0429ad838d408a199bd4ea48fe4b3;hb=22339c898f8c04af609419f036828323b26f480f;hpb=d4b44cdc2002d9214a0ae2528be8b1cab14c5120 diff --git a/source/common/svrblist.cpp b/source/common/svrblist.cpp index 97163af..802b89c 100644 --- a/source/common/svrblist.cpp +++ b/source/common/svrblist.cpp @@ -19,19 +19,19 @@ #include #include -bool CheckBlacklist(wxString ServerAddress){ +bool CheckBlacklist(wxString serverAddress){ // Check if the server address is on the blacklist. - wxString ServerBlacklist = "google.com"; - wxString BListHostname; + wxString serverBlacklist = "google.com"; + wxString bListHostname; - wxStringTokenizer ServerBlacklistTkz(ServerBlacklist, wxT("|")); + wxStringTokenizer serverBlacklistTkz(serverBlacklist, wxT("|")); - while(ServerBlacklistTkz.HasMoreTokens()){ + while(serverBlacklistTkz.HasMoreTokens()){ - BListHostname = ServerBlacklistTkz.GetNextToken(); - if (BListHostname == ServerAddress){ + bListHostname = serverBlacklistTkz.GetNextToken(); + if (bListHostname == serverAddress){ return TRUE; }