diff options
author | Michael Adam <obnox@samba.org> | 2010-01-13 00:23:48 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-01-13 00:23:48 +0100 |
commit | 9fec507daf3de334edacb279bd4eafaddaeab491 (patch) | |
tree | 8ba7fa14e2e335188c7567151bd0d238863e2b53 /src/log.c | |
parent | 74b0b63da8628dd6ac8b7318efaa93ec7f193b6a (diff) | |
download | tinyproxy-9fec507daf3de334edacb279bd4eafaddaeab491.tar.gz tinyproxy-9fec507daf3de334edacb279bd4eafaddaeab491.zip |
log: remove a (now) useless fprintf in setup_logging.
Now that there is a default value for LogFile, the case
that neither the log file name nor syslog is configured
can not happen any more.
Michael
Diffstat (limited to '')
-rw-r--r-- | src/log.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -264,10 +264,6 @@ int setup_logging (void) openlog ("tinyproxy", LOG_PID, LOG_DAEMON); else openlog ("tinyproxy", LOG_PID, LOG_USER); - } else { - fprintf (stderr, "%s: Either define a logfile or " - "enable syslog logging.\n", PACKAGE); - goto done; } logging_initialized = TRUE; |