aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-17 22:58:27 +0100
committerMax Kellermann <max@duempel.org>2009-02-17 22:58:27 +0100
commit9245bd0c69667f7622d70e87f05d9e9c5a90f88d (patch)
tree10ad7869125f67975d1b8e60f2f8ba207f941ae5
parent7b84f1e6b3b26034336897012dd34593385c417b (diff)
downloadmpd-9245bd0c69667f7622d70e87f05d9e9c5a90f88d.tar.gz
mpd-9245bd0c69667f7622d70e87f05d9e9c5a90f88d.tar.xz
mpd-9245bd0c69667f7622d70e87f05d9e9c5a90f88d.zip
input_file, input_curl, icy_metadata: added GLib log domains
Define G_LOG_DOMAIN.
-rw-r--r--src/icy_metadata.c3
-rw-r--r--src/input_curl.c3
-rw-r--r--src/input_file.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/icy_metadata.c b/src/icy_metadata.c
index aa65b32ca..5a438d47a 100644
--- a/src/icy_metadata.c
+++ b/src/icy_metadata.c
@@ -24,6 +24,9 @@
#include <assert.h>
#include <string.h>
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "icy_metadata"
+
void
icy_deinit(struct icy_metadata *im)
{
diff --git a/src/input_curl.c b/src/input_curl.c
index 4956cf5c9..f99cba7d1 100644
--- a/src/input_curl.c
+++ b/src/input_curl.c
@@ -31,6 +31,9 @@
#include <curl/curl.h>
#include <glib.h>
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "input_curl"
+
/** rewinding is possible after up to 64 kB */
static const off_t max_rewind_size = 64 * 1024;
diff --git a/src/input_file.c b/src/input_file.c
index cf5c080f5..b29a412f9 100644
--- a/src/input_file.c
+++ b/src/input_file.c
@@ -25,6 +25,9 @@
#include <string.h>
#include <glib.h>
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "input_file"
+
static bool
input_file_open(struct input_stream *is, const char *filename)
{