]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 22 Dec 2009 01:12:53 +0000 (18:12 -0700)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Tue, 22 Dec 2009 01:12:53 +0000 (18:12 -0700)
src/AccessLogEntry.h
src/comm.cc
src/log/access_log.cc

index 1dba71172771d6be1c593f519daa944413aca749..18d78c66c412dee35454f7612ad4364d9a231647 100644 (file)
@@ -55,8 +55,8 @@ public:
     {
 
     public:
-    HttpDetails() : method(METHOD_NONE), code(0), content_type(NULL),
-       timedout(false), aborted(false) {}
+        HttpDetails() : method(METHOD_NONE), code(0), content_type(NULL),
+                timedout(false), aborted(false) {}
 
         HttpRequestMethod method;
         int code;
index 0bcf565cf214705cbceb947e686ed6bee6c8476b..6d6da26ac6cc8ccd35799d374817809bc9eff73c 100644 (file)
@@ -1991,8 +1991,8 @@ commHandleWrite(int fd, void *data)
     debugs(5, 5, "commHandleWrite: write() returns " << len);
     fd_bytes(fd, len, FD_WRITE);
     statCounter.syscalls.sock.writes++;
-    // After each successful partial write, 
-    // reset fde::writeStart to the current time. 
+    // After each successful partial write,
+    // reset fde::writeStart to the current time.
     fd_table[fd].writeStart = squid_curtime;
 
     if (len == 0) {
@@ -2191,8 +2191,7 @@ checkTimeouts(void)
         if (writeTimedOut(fd)) {
             // We have an active write callback and we are timed out
             commio_finish_callback(fd, COMMIO_FD_WRITECB(fd), COMM_ERROR, ETIMEDOUT);
-        }
-        else if (AlreadyTimedOut(F))
+        } else if (AlreadyTimedOut(F))
             continue;
 
         debugs(5, 5, "checkTimeouts: FD " << fd << " Expired");
index eab2f756944a8f6c8da3f430f221638411dd513d..ad42287af7840b0fb39c3efb4ec1dac52824aa85 100644 (file)
@@ -1049,7 +1049,7 @@ accessLogCustom(AccessLogEntry * al, customlog * log)
         case LFT_SQUID_STATUS:
             if (al->http.timedout || al->http.aborted) {
                 snprintf(tmp, sizeof(tmp), "%s%s", log_tags[al->cache.code],
-                    al->http.statusSfx());
+                         al->http.statusSfx());
                 out = tmp;
             } else {
                 out = log_tags[al->cache.code];