Added 65K of buffer while still sending packets

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@387 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-06-13 04:40:17 +00:00
parent 7e95256bcb
commit 0042cd911f
+1 -1
View File
@@ -15,7 +15,7 @@ void CDCCSock::ReadData(const char* data, int len) {
memcpy(&iRemoteSoFar, m_sSendBuf.data(), 4);
iRemoteSoFar = ntohl(iRemoteSoFar);
if (iRemoteSoFar >= m_uBytesSoFar) {
if ((iRemoteSoFar + 65536) >= m_uBytesSoFar) {
SendPacket();
}