From 89073cfbba6126ce28221ad54e75a69b05b21fd6 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 1 Aug 2006 04:18:53 +0000 Subject: 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 --- src/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/player.c') diff --git a/src/player.c b/src/player.c index c7ea14a86..7353debcf 100644 --- a/src/player.c +++ b/src/player.c @@ -136,7 +136,7 @@ int playerInitReal() pc->queueLockState = PLAYER_QUEUE_UNLOCKED; pc->unlockQueue = 0; } else if (pc->cycleLogFiles) { - myfprintfCloseAndOpenLogFile(); + cycle_log_files(); pc->cycleLogFiles = 0; } else my_usleep(10000); -- cgit v1.2.3