logging cleanups
* Moved all logging-related stuff into log.c (and not myfprintf.c) * ISO C90-compliant strftime usage: %e and %R replaced with %d and %H:%M respectively * Got rid of variadic macros since some old-school compilers don't like them * compiling with -DNDEBUG disables the DEBUG() macro git-svn-id: https://svn.musicpd.org/mpd/trunk@4512 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -79,7 +79,7 @@ int handlePendingSignals()
|
||||
readDirectoryDB();
|
||||
playlistVersionChange();
|
||||
}
|
||||
if (myfprintfCloseAndOpenLogFile() < 0)
|
||||
if (cycle_log_files() < 0)
|
||||
return COMMAND_RETURN_KILL;
|
||||
playerCycleLogFiles();
|
||||
}
|
||||
|
Reference in New Issue
Block a user