aboutsummaryrefslogtreecommitdiffstats
path: root/src/zeroconf-avahi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zeroconf-avahi.c')
-rw-r--r--src/zeroconf-avahi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zeroconf-avahi.c b/src/zeroconf-avahi.c
index d9b0c22a8..518a7a481 100644
--- a/src/zeroconf-avahi.c
+++ b/src/zeroconf-avahi.c
@@ -20,6 +20,7 @@
#include "config.h"
#include "zeroconf-internal.h"
#include "listen.h"
+#include "mpd_error.h"
#include <glib.h>
@@ -218,7 +219,7 @@ void init_avahi(const char *serviceName)
g_debug("Initializing interface");
if (!avahi_is_valid_service_name(serviceName))
- g_error("Invalid zeroconf_name \"%s\"", serviceName);
+ MPD_ERROR("Invalid zeroconf_name \"%s\"", serviceName);
avahiName = avahi_strdup(serviceName);