aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag.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/tag.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 'src/tag.c')
-rw-r--r--src/tag.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tag.c b/src/tag.c
index c80bcff10..69c4c19bd 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -20,7 +20,6 @@
#include "tag.h"
#include "tag_internal.h"
#include "tag_pool.h"
-#include "log.h"
#include "conf.h"
#include "song.h"
@@ -106,8 +105,8 @@ void tag_lib_init(void)
}
}
if (strlen(c) && i == TAG_NUM_OF_ITEM_TYPES) {
- FATAL("error parsing metadata item \"%s\"\n",
- c);
+ g_error("error parsing metadata item \"%s\"",
+ c);
}
s++;
c = s;