diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 19:11:21 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 19:11:21 +0000 |
commit | cc0573bf4a7b6835f0f9079ac8669fa7ba1d8763 (patch) | |
tree | 3e5daecb4294f05ebb7150c8b0d1a046c46aa9e9 | |
parent | 6e37619a6f1b66d19ea70cc8f4f25d30a4811203 (diff) |
Deque doing some reallllly odd stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3678 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/socket.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index 72318aa42..cd4094727 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -283,7 +283,8 @@ bool InspSocket::FlushWriteBuffer() } else { - outbuffer[0] = outbuffer[0].substr(result + 1,outbuffer[0].length() - result); + std::string temp = outbuffer[0].substr(result + 1,outbuffer[0].length() - result - 1); + outbuffer[0] = temp; } } else if ((result == -1) && (errno != EAGAIN)) |