From 7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Sep 2013 18:20:52 +0200 Subject: mpd_error.h: remove obsolete header Migrate the remaining callers to FatalError(). --- src/ZeroconfAvahi.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ZeroconfAvahi.cxx') diff --git a/src/ZeroconfAvahi.cxx b/src/ZeroconfAvahi.cxx index 2d7a9fee9..8d26c75f6 100644 --- a/src/ZeroconfAvahi.cxx +++ b/src/ZeroconfAvahi.cxx @@ -22,7 +22,7 @@ #include "ZeroconfInternal.hxx" #include "Listen.hxx" #include "event/Loop.hxx" -#include "mpd_error.h" +#include "system/FatalError.hxx" #include @@ -225,7 +225,7 @@ AvahiInit(EventLoop &loop, const char *serviceName) g_debug("Initializing interface"); if (!avahi_is_valid_service_name(serviceName)) - MPD_ERROR("Invalid zeroconf_name \"%s\"", serviceName); + FormatFatalError("Invalid zeroconf_name \"%s\"", serviceName); avahiName = avahi_strdup(serviceName); -- cgit v1.2.3