summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--avahi-core/resolve-service.c1
-rw-r--r--avahi-discover-standalone/main.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/avahi-core/resolve-service.c b/avahi-core/resolve-service.c
index 0321b4c..141df9e 100644
--- a/avahi-core/resolve-service.c
+++ b/avahi-core/resolve-service.c
@@ -122,7 +122,6 @@ static void finish(AvahiSServiceResolver *r, AvahiResolverEvent event) {
st[i-1] = 0;
r->callback(r, r->interface, r->protocol, event, sn, st, r->domain_name, r->srv_record->data.srv.name, &a, r->srv_record->data.srv.port, r->txt_record->data.txt.string_list, r->userdata);
-
}
}
diff --git a/avahi-discover-standalone/main.c b/avahi-discover-standalone/main.c
index 6cd4cc4..1075088 100644
--- a/avahi-discover-standalone/main.c
+++ b/avahi-discover-standalone/main.c
@@ -238,6 +238,7 @@ static void service_resolver_callback(AvahiSServiceResolver *r, AvahiIfIndex int
g_assert(r == service_resolver);
avahi_s_service_resolver_free(service_resolver);
service_resolver = NULL;
+ return;
}
if (event == AVAHI_RESOLVER_TIMEOUT)