]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Sun, 8 Aug 2010 00:12:41 +0000 (18:12 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Sun, 8 Aug 2010 00:12:41 +0000 (18:12 -0600)
src/AccessLogEntry.h
src/adaptation/icap/ModXact.h
src/gopher.cc
src/log/access_log.cc

index cc98207579c64670511a4a8f5a48d0120775d1a2..753545e97b7dfc8496aad2a3679750408fe80ec1 100644 (file)
@@ -204,7 +204,7 @@ public:
         int64_t bytesSent;       ///< number of bytes sent to ICAP server so far
         int64_t bytesRead;       ///< number of bytes read from ICAP server so far
         /**
-         * number of ICAP body bytes read from ICAP server or -1 for no encapsulated 
+         * number of ICAP body bytes read from ICAP server or -1 for no encapsulated
          * message data in ICAP reply (eg 204 responses)
          */
         int64_t bodyBytesRead;
index 07a16ba65c975ae862843a58cb816bbc5b1ee499..d29e89a87e5f22801ebecc0056e4f76d94e64285 100644 (file)
@@ -279,7 +279,7 @@ private:
      */
     int64_t replyHttpHeaderSize;
     /**
-     * size of dechunked HTTP body in ICAP reply or -1 if there is not any 
+     * size of dechunked HTTP body in ICAP reply or -1 if there is not any
      * encapsulated message data
      */
     int64_t replyHttpBodySize;
index 75c821c568e8f18fba00b123b4c7ba53d2fd8f42..6b47c0afdde34d120d9097e7822bf2490a5bc06e 100644 (file)
@@ -822,9 +822,9 @@ gopherReadReply(int fd, char *buf, size_t len, comm_err_t flag, int xerrno, void
         IOStats.Gopher.read_hist[bin]++;
 
         HttpRequest *req = gopherState->fwd->request;
-        if (req->hier.bodyBytesRead < 0) 
+        if (req->hier.bodyBytesRead < 0)
             req->hier.bodyBytesRead = 0;
-        
+
         req->hier.bodyBytesRead += len;
 
     }
index b6be66527ab2b8565b246a47966f272f7d6118ce..1bb4e9e6079bbd5405c439a36bfaaa004ed383d5 100644 (file)
@@ -893,7 +893,7 @@ accessLogCustom(AccessLogEntry * al, customlog * log)
                 dooff = 1;
             }
             // else if icap.bodyBytesRead < 0, we do not have any http data,
-            // so just print a "-" (204 responses etc) 
+            // so just print a "-" (204 responses etc)
             break;
 
         case LFT_ICAP_REQ_HEADER:
@@ -1108,7 +1108,7 @@ accessLogCustom(AccessLogEntry * al, customlog * log)
                 dooff = 1;
             }
             // else if hier.bodyBytesRead < 0 we did not have any data exchange with
-            // a peer server so just print a "-" (eg requests served from cache, 
+            // a peer server so just print a "-" (eg requests served from cache,
             // or internal error messages).
             break;