From 203fdebd02d1ee4e8d63e43f511ea0bcbb22896d Mon Sep 17 00:00:00 2001 From: Source Maintenance Date: Wed, 22 Jul 2015 00:12:08 +0000 Subject: [PATCH] SourceFormat Enforcement --- src/clients/FtpGateway.cc | 2 +- src/debug.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clients/FtpGateway.cc b/src/clients/FtpGateway.cc index 1a2113683e..4e22cf6e74 100644 --- a/src/clients/FtpGateway.cc +++ b/src/clients/FtpGateway.cc @@ -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()); } diff --git a/src/debug.cc b/src/debug.cc index 213be8f4f3..92b7f4b4a5 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -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)); } } -- 2.47.2