]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorSource Maintenance <squidadm@squid-cache.org>
Wed, 22 Jul 2015 00:12:08 +0000 (00:12 +0000)
committerSource Maintenance <squidadm@squid-cache.org>
Wed, 22 Jul 2015 00:12:08 +0000 (00:12 +0000)
src/clients/FtpGateway.cc
src/debug.cc

index 1a2113683ea8d927794a1c1badd40a5f85f5ff99..4e22cf6e7408c1079113958b2d8bd6b4c0267bb3 100644 (file)
@@ -1804,7 +1804,7 @@ ftpOpenListenSocket(Ftp::Gateway * ftpState, int fallback)
         int on = 1;
         errno = 0;
         if (setsockopt(ftpState->ctrl.conn->fd, SOL_SOCKET, SO_REUSEADDR,
-                        (char *) &on, sizeof(on)) == -1) {
+                       (char *) &on, sizeof(on)) == -1) {
             // SO_REUSEADDR is only an optimization, no need to be verbose about error
             debugs(9, 4, "setsockopt failed: " << xstrerror());
         }
index 213be8f4f37f8259b4a89b0a7f29dc54169c89c4..92b7f4b4a5a9f04564bde348dfac941bd68132b6 100644 (file)
@@ -497,7 +497,7 @@ _db_rotate_log(void)
         if (rename(debug_log_file, to) == -1) {
             const auto saved_errno = errno;
             debugs(0, DBG_IMPORTANT, "renaming file " << debug_log_file << " to "
-                            << to << "failed: " << xstrerr(saved_errno));
+                   << to << "failed: " << xstrerr(saved_errno));
         }
     }