[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-12-04 22:10:24
Message-ID: 20101204221024.4E42CAC8A4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1203614 by adawit:

Cosmetic change: fixed code indentation

 M  +3 -4      http.cpp  


--- trunk/KDE/kdelibs/kioslave/http/http.cpp #1203613:1203614
@@ -3475,7 +3475,6 @@
         // parse everything related to expire and other dates, and cache directives; also switch
         // between cache reading and writing depending on cache validation result.
         cacheParseResponseHeader(tokenizer);
-
     }
 
     if (m_request.cacheTag.ioMode == ReadFromCache) {
@@ -4234,13 +4233,13 @@
         }
 
         if (m_request.cacheTag.ioMode == ReadFromCache) {
-            kDebug(7113) << "read data from cache!";
+          kDebug(7113) << "reading data from cache...";
 
             m_iContentLeft = NO_SIZE;
 
             QByteArray d;
             while (true) {
-                d = cacheFileReadPayload(4096);
+              d = cacheFileReadPayload(MAX_IPC_SIZE);
                 if (d.isEmpty()) {
                     break;
                 }
@@ -4271,7 +4270,7 @@
   if (m_isChunked)
     m_iBytesLeft = NO_SIZE;
 
-  kDebug(7113) << "retrieve data."<<KIO::number(m_iBytesLeft)<<"left.";
+  kDebug(7113) << KIO::number(m_iBytesLeft) << "bytes left.";
 
   // Main incoming loop...  Gather everything while we can...
   m_cpMimeBuffer = false;
[prev in list] [next in list] [prev in thread] [next in thread] 

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