/////////////////////////////////////////////////////////////////////////////
#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 <stdio.h>
#include <stdlib.h>
#include "wx/string.h"
break;
tokenzr.SetString(line, " :\t\n\r");
- if (!tokenzr.HasMoreToken())
+ if (!tokenzr.HasMoreTokens())
return FALSE;
wxString left_str = tokenzr.GetNextToken();
SetFlags(NONE);
Notify(FALSE);
- sprintf(buf, "%s %s\n\r", tmp_buf, pathbuf);
+ sprintf(buf, "%s %s\n\r", tmp_buf, (const char*) pathbuf);
Write(buf, strlen(buf));
SendHeaders();
sprintf(buf, "\n\r");