diff options
Diffstat (limited to '')
-rw-r--r-- | src/zeroconf-avahi.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/zeroconf-avahi.c b/src/zeroconf-avahi.c index 1f93ddb72..d2c6c084c 100644 --- a/src/zeroconf-avahi.c +++ b/src/zeroconf-avahi.c @@ -234,13 +234,8 @@ void init_avahi(const char *serviceName) if (!avahiClient) { g_warning("Failed to create client: %s", avahi_strerror(error)); - goto fail; + avahi_finish(); } - - return; - -fail: - avahi_finish(); } void avahi_finish(void) |