diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-21 12:09:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-01-21 12:09:49 +0000 |
commit | 0b919e6a24ae389d8da0adc49c10cbdcf4d0acc5 (patch) | |
tree | c82dc2f37d8ece2fd9eec727c74dfe0d007ab5ba /src/modules | |
parent | e30f934cc03395194cd72472acc9cf4b05d9e64e (diff) |
win32 compile error fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8747 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_remoteinclude_http.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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) |