From 0b919e6a24ae389d8da0adc49c10cbdcf4d0acc5 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 21 Jan 2008 12:09:49 +0000 Subject: win32 compile error fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8747 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_remoteinclude_http.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/modules/m_remoteinclude_http.cpp b/src/modules/m_remoteinclude_http.cpp index f32397c81..d55b4a251 100644 --- a/src/modules/m_remoteinclude_http.cpp +++ b/src/modules/m_remoteinclude_http.cpp @@ -37,6 +37,9 @@ class ModuleRemoteIncludeHttp : public Module virtual int OnDownloadFile(const std::string &filename, std::istream* &filedata) { +#ifdef WIN32 + return 0; +#else std::stringstream* gotfile = (std::stringstream*)filedata; ServerInstance->Log(DEBUG,"OnDownloadFile in m_remoteinclude_http"); int sockfd, portno, n; @@ -105,6 +108,7 @@ class ModuleRemoteIncludeHttp : public Module ServerInstance->Log(DEBUG,"Result: %s", result.c_str()); return (result == "200"); +#endif } int SockSend(int sock, const std::string &data) -- cgit v1.2.3