From bcca20a3e61f8c05314d2b06397197db41f43737 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 10 Jan 2010 19:27:59 +0100 Subject: log: remove an fprintf "not configured" error message in setup_logging(). Now that we exit early when !logging_initialized, this can actually not happen anymore anyways: When logging is initialized, it was also properly configured. Michael --- src/log.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/log.c b/src/log.c index 39a4bac..317f53c 100644 --- a/src/log.c +++ b/src/log.c @@ -292,9 +292,6 @@ void shutdown_logging (void) close_log_file (); } else if (config.syslog) { closelog (); - } else { - fprintf (stderr, "error - shutdown_logging called while " - " logging not configured yet\n"); } logging_initialized = FALSE; -- cgit v1.2.3