]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/http.cpp
Now uses proper wxUSE_xxx flags
[wxWidgets.git] / src / common / http.cpp
index 779472541d3b49476f52655d7454a6db80ec0f76..c13c7a1bb7695d73f609aec8683a7f4fb0b29c1a 100644 (file)
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
 /////////////////////////////////////////////////////////////////////////////
 
 #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__
 #endif
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-#pragma hdrstop
+  #pragma hdrstop
 #endif
 
 #if wxUSE_SOCKETS
 
 #endif
 
 #if wxUSE_SOCKETS
 
-#ifndef WX_PRECOMP
-#endif
-
 #include <stdio.h>
 #include <stdlib.h>
 #include "wx/string.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include "wx/string.h"
@@ -130,7 +127,7 @@ bool wxHTTP::ParseHeaders()
       break;
 
     tokenzr.SetString(line, " :\t\n\r");
       break;
 
     tokenzr.SetString(line, " :\t\n\r");
-    if (!tokenzr.HasMoreToken())
+    if (!tokenzr.HasMoreTokens())
       return FALSE;
 
     wxString left_str = tokenzr.GetNextToken();
       return FALSE;
 
     wxString left_str = tokenzr.GetNextToken();