diff options
author | Adam <Adam@anope.org> | 2011-08-07 22:34:16 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-07 22:34:16 -0400 |
commit | ade92395a0f08b125b60fbbd488eecb5c3258e76 (patch) | |
tree | 9b267ba30eec325a42db0b625475d127ce8f5f5d /src/socketengines/pipeengine_win32.cpp | |
parent | c6741d3765d0a8dbf34e80a34573333e45b5ec6b (diff) |
Fixed the pipengines
Diffstat (limited to 'src/socketengines/pipeengine_win32.cpp')
-rw-r--r-- | src/socketengines/pipeengine_win32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socketengines/pipeengine_win32.cpp b/src/socketengines/pipeengine_win32.cpp index 41ec37a4c..3bd18d0cd 100644 --- a/src/socketengines/pipeengine_win32.cpp +++ b/src/socketengines/pipeengine_win32.cpp @@ -23,7 +23,7 @@ class PipeIO : public SocketIO * @param sz How much to read * @return Number of bytes received */ - int Recv(Socket *s, char *buf, size_t sz) const + int Recv(Socket *s, char *buf, size_t sz) { static char dummy[512]; return recv(s->GetFD(), dummy, 512, 0); @@ -34,7 +34,7 @@ class PipeIO : public SocketIO * @param buf What to write * @return Number of bytes written */ - int Send(Socket *s, const Anope::string &buf) const + int Send(Socket *s, const Anope::string &buf) { static const char dummy = '*'; Pipe *pipe = debug_cast<Pipe *>(s); |