From ad756aa9b04c624f2cb41a39196335a7e8dc78f9 Mon Sep 17 00:00:00 2001 From: prozacx Date: Tue, 19 Jul 2005 04:32:05 +0000 Subject: [PATCH] Moved ReadData() to be called before PushBuff() git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@451 726aef4b-f618-498e-8847-2d620e286838 --- Csocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Csocket.h b/Csocket.h index d2fbacd7..1f0fe558 100644 --- a/Csocket.h +++ b/Csocket.h @@ -1114,8 +1114,8 @@ public: if ( T::TMO_READ & pcSock->GetTimeoutType() ) pcSock->ResetTimer(); // reset the timeout timer + pcSock->ReadData( buff, bytes ); // Call ReadData() before PushBuff() so that it is called before the ReadLine() event - LD 07/18/05 pcSock->PushBuff( buff, bytes ); - pcSock->ReadData( buff, bytes ); break; } }