diff options
author | Max Kellermann <max@duempel.org> | 2009-01-03 13:20:01 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-03 13:20:01 +0100 |
commit | 3cb3baa1e2ff107e96241c5c3d75b0013c684e40 (patch) | |
tree | 2e7ac1969abb66d0d7f186fa432ab9d32cb202de /src | |
parent | a8dbd8f44f4106f054b49edc5994d9d8b4a5b9a9 (diff) | |
download | mpd-3cb3baa1e2ff107e96241c5c3d75b0013c684e40.tar.gz mpd-3cb3baa1e2ff107e96241c5c3d75b0013c684e40.tar.xz mpd-3cb3baa1e2ff107e96241c5c3d75b0013c684e40.zip |
log: don't call closelog() on !HAVE_SYSLOG
Diffstat (limited to '')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -322,7 +322,9 @@ void close_log_files(void) if (stdout_mode) return; +#ifdef HAVE_SYSLOG if (out_filename == NULL) closelog(); +#endif } |