summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-11-09 13:26:43 +0100
committerMichael Adam <obnox@samba.org>2013-11-09 13:34:33 +0100
commitd652681e8a53a767843ab55a3636d77e183e53f9 (patch)
treefc52c57b18267f7361b518334101cc51260a18d4
parentc8b8247f70607073af241f4aba682f09ccb3e76d (diff)
downloadtinyproxy-d652681e8a53a767843ab55a3636d77e183e53f9.tar.gz
tinyproxy-d652681e8a53a767843ab55a3636d77e183e53f9.zip
log: remove extra newline characters in log messages.
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--src/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index e0f3567..ba871b2 100644
--- a/src/log.c
+++ b/src/log.c
@@ -258,10 +258,10 @@ int setup_logging (void)
config.syslog = TRUE;
log_message (LOG_CRIT, "ERROR: Could not create log "
- "file %s: %s.\n",
+ "file %s: %s.",
config.logf_name, strerror (errno));
log_message (LOG_CRIT,
- "Falling back to syslog logging\n");
+ "Falling back to syslog logging.");
}
}