From 9fec507daf3de334edacb279bd4eafaddaeab491 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 13 Jan 2010 00:23:48 +0100 Subject: 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 --- src/log.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/log.c') 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; -- cgit v1.2.3