Skip to content

Commit

Permalink
Deque doing some reallllly odd stuff
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3678 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
braindigitalis committed Mar 11, 2006
1 parent 6e37619 commit cc0573b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/socket.cpp
Expand Up @@ -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))
Expand Down

0 comments on commit cc0573b

Please sign in to comment.