#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
-#if wxUSE_SOCKETS
-
#ifndef WX_PRECOMP
+ #include "wx/defs.h"
#endif
+#if wxUSE_SOCKETS
+
#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");