Update to latest Csocket

This breaks (& fixes again, as far as ZNC itself is concerened) API!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1040 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-05-06 14:47:13 +00:00
parent 6857394d71
commit 5665fd872d
4 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ void CShellSock::ReadLine(const CString& sData) {
void CShellSock::Disconnected() {
// If there is some incomplete line in the buffer, read it
// (e.g. echo echo -n "hi" triggered this)
CString &sBuffer = GetInternalBuffer();
CString &sBuffer = GetInternalReadBuffer();
if (!sBuffer.empty())
ReadLine(sBuffer);