From kde-commits Mon Jul 19 14:18:44 2010 From: Dawit Alemayehu Date: Mon, 19 Jul 2010 14:18:44 +0000 To: kde-commits Subject: KDE/kdelibs/kioslave/http Message-Id: <20100719141844.69FB5AC76B () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=127954913925310 SVN commit 1151761 by adawit: - Fixed the previous commit (r1151494). It was inadvertantly committed with the last parameter commented out. Now Gmail chat should work :) - Corrected a typo in the comment as pointed out by dfaure. M +2 -2 http.cpp --- trunk/KDE/kdelibs/kioslave/http/http.cpp #1151760:1151761 @@ -1990,7 +1990,7 @@ // If we have an unread buffer and the size of the content returned by the // server is unknown, e.g. chuncked transfer, return the bytes read here since // we may already have enough data to complete the response and don't want to - // for more. See BR# 180631. + // wait for more. See BR# 180631. if (unlimited) return bytesRead; } @@ -4060,7 +4060,7 @@ else bytesToReceive = m_iBytesLeft; - const int bytesReceived = readBuffered(m_receiveBuf.data(), bytesToReceive /*, false*/); + const int bytesReceived = readBuffered(m_receiveBuf.data(), bytesToReceive, false); if (bytesReceived <= 0) return -1; // Error: connection lost