summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-01-13 00:23:48 +0100
committerMichael Adam <obnox@samba.org>2010-01-13 00:23:48 +0100
commit9fec507daf3de334edacb279bd4eafaddaeab491 (patch)
tree8ba7fa14e2e335188c7567151bd0d238863e2b53 /src
parent74b0b63da8628dd6ac8b7318efaa93ec7f193b6a (diff)
downloadtinyproxy-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 'src')
-rw-r--r--src/log.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/log.c b/src/log.c
index 317f53c..0c57f83 100644
--- a/src/log.c
+++ b/src/log.c
@@ -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;