X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1759ff9e918d43734793c67328af21203924931f..76784eecd960198bc54429a6e16d5bd7af458fce:/src/common/http.cpp diff --git a/src/common/http.cpp b/src/common/http.cpp index 779472541d..c13c7a1bb7 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -10,21 +10,18 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation "http.h" + #pragma implementation "http.h" #endif // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif #if wxUSE_SOCKETS -#ifndef WX_PRECOMP -#endif - #include #include #include "wx/string.h" @@ -130,7 +127,7 @@ bool wxHTTP::ParseHeaders() break; tokenzr.SetString(line, " :\t\n\r"); - if (!tokenzr.HasMoreToken()) + if (!tokenzr.HasMoreTokens()) return FALSE; wxString left_str = tokenzr.GetNextToken();