diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-27 20:33:02 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-27 20:33:02 +0000 |
commit | a99bf35b9eff1dc1adf0b792b3e5054a9cde0c63 (patch) | |
tree | 39e17176654d71d3d22079e60480dba1eeeb442f /src | |
parent | cac4bef53dcef911e9133705748ab3584dbf9ae1 (diff) |
Remove debugging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3783 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/socket.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index 20a447ba7..e217720f2 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -277,25 +277,20 @@ bool InspSocket::FlushWriteBuffer() { if (outbuffer.size()) { - log(DEBUG,"Writing %d to socket",outbuffer.size()); int result = write(this->fd,outbuffer[0].c_str(),outbuffer[0].length()); if (result > 0) { - log(DEBUG,"Wrote %d to socket",result); if ((unsigned int)result == outbuffer[0].length()) { /* The whole block was written (usually a line) * Pop the block off the front of the queue */ - log(DEBUG,"Popping front item, now %d items left",outbuffer.size()); outbuffer.pop_front(); } else { - log(DEBUG,"Cutting front item"); std::string temp = outbuffer[0].substr(result); outbuffer[0] = temp; - log(DEBUG,"Front item is now: ",outbuffer[0].c_str()); } } else if ((result == -1) && (errno != EAGAIN)) |