diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-03-24 23:00:41 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-03-24 23:00:41 +0000 |
commit | 86a9d5654378efc3dfedb627d28af5324f0edc52 (patch) | |
tree | bbae9fa1f481ce26be272aa781ef3199eae8fe44 /bin/bbstored/BackupStoreDaemon.cpp | |
parent | e630d8ed665c44bb00009970decdb4a6470897b2 (diff) |
Remove newlines from syslog() messages. (refs #3, merges [1447])
Diffstat (limited to 'bin/bbstored/BackupStoreDaemon.cpp')
-rw-r--r-- | bin/bbstored/BackupStoreDaemon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bbstored/BackupStoreDaemon.cpp b/bin/bbstored/BackupStoreDaemon.cpp index 335135ce..c9601575 100644 --- a/bin/bbstored/BackupStoreDaemon.cpp +++ b/bin/bbstored/BackupStoreDaemon.cpp @@ -295,7 +295,7 @@ void BackupStoreDaemon::Connection2(SocketStreamTLS &rStream) std::string clientCommonName(rStream.GetPeerCommonName()); // Log the name - ::syslog(LOG_INFO, "Certificate CN: %s\n", clientCommonName.c_str()); + ::syslog(LOG_INFO, "Certificate CN: %s", clientCommonName.c_str()); // Check it int32_t id; @@ -342,7 +342,7 @@ void BackupStoreDaemon::LogConnectionStats(const char *commonName, { // Log the amount of data transferred ::syslog(LOG_INFO, "Connection statistics for %s: " - "IN=%lld OUT=%lld TOTAL=%lld\n", commonName, + "IN=%lld OUT=%lld TOTAL=%lld", commonName, (long long)s.GetBytesRead(), (long long)s.GetBytesWritten(), (long long)s.GetBytesRead() + |