[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kioslave/http
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2010-07-19 14:18:44
Message-ID: 20100719141844.69FB5AC76B () svn ! kde ! org
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic