summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-01-10 19:27:59 +0100
committerMichael Adam <obnox@samba.org>2010-01-10 19:29:33 +0100
commitbcca20a3e61f8c05314d2b06397197db41f43737 (patch)
tree9502800a6c78c85b29d6b43c8076678a471556f1 /src/log.c
parent1dd1c2796aef14ece4137ae907f1a3da72e2c6c9 (diff)
downloadtinyproxy-bcca20a3e61f8c05314d2b06397197db41f43737.tar.gz
tinyproxy-bcca20a3e61f8c05314d2b06397197db41f43737.zip
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
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c3
1 files changed, 0 insertions, 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;