aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_thread.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-25 19:53:38 +0100
committerMax Kellermann <max@duempel.org>2009-02-25 19:53:38 +0100
commit9512704055793e62e08f5d134297af47c5101dcb (patch)
tree1d439c03bc8d66c38a251244a2ec0b440a5a1229 /src/output_thread.c
parentd56ae1e9c24022fce89af112d540ab3cb9550ff7 (diff)
downloadmpd-9512704055793e62e08f5d134297af47c5101dcb.tar.gz
mpd-9512704055793e62e08f5d134297af47c5101dcb.tar.xz
mpd-9512704055793e62e08f5d134297af47c5101dcb.zip
output: set a GLib log domain
Diffstat (limited to '')
-rw-r--r--src/output_thread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/output_thread.c b/src/output_thread.c
index 709d8d1a2..2640adfbd 100644
--- a/src/output_thread.c
+++ b/src/output_thread.c
@@ -21,10 +21,14 @@
#include "output_internal.h"
#include <glib.h>
+
#include <assert.h>
#include <stdlib.h>
#include <errno.h>
+#undef G_LOG_DOMAIN
+#define G_LOG_DOMAIN "output"
+
enum {
/** after a failure, wait this number of seconds before
automatically reopening the device */