summaryrefslogtreecommitdiff
path: root/include/sockets.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-05-23 04:41:51 -0400
committerAdam <Adam@anope.org>2011-05-23 04:41:51 -0400
commit8bf8832b70dea28e2048d5952ee03247f12bda92 (patch)
treef76f670690c105ec8f9ca079d868e930fd8f205b /include/sockets.h
parent4dd7e261f5704569856b5854dcc1f68010f0aaad (diff)
Rewrote the signal handling to use sigaction
Diffstat (limited to 'include/sockets.h')
-rw-r--r--include/sockets.h6
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