diff options
author | Max Kellermann <max@duempel.org> | 2013-09-05 18:20:52 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-05 18:26:46 +0200 |
commit | 7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa (patch) | |
tree | 03c6b14d6d54f4657aa5939982aec7f942e47c46 /src/ZeroconfAvahi.cxx | |
parent | 3330aa6f6a7fcd903f74cb8342f315ad35b54ead (diff) | |
download | mpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.tar.gz mpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.tar.xz mpd-7a4c9f5f4c38b568a51ec13988f5fcfbbe278afa.zip |
mpd_error.h: remove obsolete header
Migrate the remaining callers to FatalError().
Diffstat (limited to 'src/ZeroconfAvahi.cxx')
-rw-r--r-- | src/ZeroconfAvahi.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <glib.h> @@ -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); |