aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-15 18:23:00 +0100
committerMax Kellermann <max@duempel.org>2009-03-15 18:23:00 +0100
commita899c210b9de405a232f0cd102ca9409ef89518b (patch)
tree3b42f6d527cb92c8f1c3c1592541511ce14d283d /src/decoder_thread.c
parent9e30dfb9c195dab50c4d0173885a94e7b81d45bd (diff)
downloadmpd-a899c210b9de405a232f0cd102ca9409ef89518b.tar.gz
mpd-a899c210b9de405a232f0cd102ca9409ef89518b.tar.xz
mpd-a899c210b9de405a232f0cd102ca9409ef89518b.zip
log: removed DEBUG() and FATAL()
Use GLib the logging functions g_debug(), g_error() instead.
Diffstat (limited to '')
-rw-r--r--src/decoder_thread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c
index c04d0b849..dee16218a 100644
--- a/src/decoder_thread.c
+++ b/src/decoder_thread.c
@@ -29,7 +29,6 @@
#include "tag.h"
#include "mapper.h"
#include "path.h"
-#include "log.h"
#include "uri.h"
#include <glib.h>
@@ -269,5 +268,5 @@ void decoder_thread_start(void)
dc.thread = g_thread_create(decoder_task, NULL, true, &e);
if (dc.thread == NULL)
- FATAL("Failed to spawn decoder task: %s\n", e->message);
+ g_error("Failed to spawn decoder task: %s", e->message);
}