aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mikmod_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-17 08:51:34 +0100
committerMax Kellermann <max@duempel.org>2009-02-17 08:51:34 +0100
commitd8db46edfaed14c38d97e8880ff07fc629908b2d (patch)
tree716059a2d530fce866d2721e8093fa35f301d809 /src/decoder/mikmod_plugin.c
parentc4d69f0ae1e0df6bac03fe131b4e8a40f75b5c4b (diff)
downloadmpd-d8db46edfaed14c38d97e8880ff07fc629908b2d.tar.gz
mpd-d8db46edfaed14c38d97e8880ff07fc629908b2d.tar.xz
mpd-d8db46edfaed14c38d97e8880ff07fc629908b2d.zip
decoders: added and fixed GLib log domains
Fixed the log domains of the renamed decoders. Added G_LOG_DOMAIN macros in decoders which don't have one already.
Diffstat (limited to '')
-rw-r--r--src/decoder/mikmod_plugin.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/decoder/mikmod_plugin.c b/src/decoder/mikmod_plugin.c
index af715c0ca..7ba8ab3f7 100644
--- a/src/decoder/mikmod_plugin.c
+++ b/src/decoder/mikmod_plugin.c
@@ -21,6 +21,9 @@
#include <glib.h>
#include <mikmod.h>
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "mikmod"
+
/* this is largely copied from alsaplayer */
#define MIKMOD_FRAME_SIZE 4096
@@ -204,7 +207,7 @@ static struct tag *modTagDup(const char *file)
g_free(path2);
if (moduleHandle == NULL) {
- g_debug("modTagDup: Failed to open file: %s\n", file);
+ g_debug("Failed to open file: %s", file);
return NULL;
}