diff options
author | Adam <Adam@anope.org> | 2011-05-23 04:41:51 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-23 04:41:51 -0400 |
commit | 8bf8832b70dea28e2048d5952ee03247f12bda92 (patch) | |
tree | f76f670690c105ec8f9ca079d868e930fd8f205b /include/sockets.h | |
parent | 4dd7e261f5704569856b5854dcc1f68010f0aaad (diff) |
Rewrote the signal handling to use sigaction
Diffstat (limited to 'include/sockets.h')
-rw-r--r-- | include/sockets.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sockets.h b/include/sockets.h index eca2635e8..5e5ca1fde 100644 --- a/include/sockets.h +++ b/include/sockets.h @@ -254,7 +254,7 @@ class CoreExport BufferedSocket : public Socket /* Part of a message sent from the server, but not totally received */ Anope::string extrabuf; /* How much data was received from this socket */ - size_t RecvLen; + int RecvLen; public: /** Blank constructor @@ -297,12 +297,12 @@ class CoreExport BufferedSocket : public Socket /** Get the length of the read buffer * @return The length of the read buffer */ - size_t ReadBufferLen() const; + int ReadBufferLen() const; /** Get the length of the write buffer * @return The length of the write buffer */ - size_t WriteBufferLen() const; + int WriteBufferLen() const; }; class CoreExport ListenSocket : public Socket |