summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2005-03-12 03:10:09 +0000
committerWarren Dukes <warren.dukes@gmail.com>2005-03-12 03:10:09 +0000
commit8583a3bc4e9af2a1be06c82422a7cac1470341ce (patch)
tree4befe14e73239f6bcabc6046499bd0e4a99ebe88 /src/log.c
parent18651935754dbf8972cd8188c2ec5b05ded60299 (diff)
if no audioOutput specified, we no attempt to detect if there exists a usable oss or alsa device
git-svn-id: https://svn.musicpd.org/mpd/trunk@3057 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/log.c b/src/log.c
index 964b8aa66..e50b14f9b 100644
--- a/src/log.c
+++ b/src/log.c
@@ -68,9 +68,12 @@ void bufferWarning(char * format, ... ) {
va_end(arglist);
}
+
void flushWarningLog() {
char * s;
+ DEBUG("flushing warning messages\n");
+
if(warningBuffer == NULL) return;
s = strtok(warningBuffer, "\n");