summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--avahi-daemon/dbus-protocol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/avahi-daemon/dbus-protocol.c b/avahi-daemon/dbus-protocol.c
index 65c8e46..0631f72 100644
--- a/avahi-daemon/dbus-protocol.c
+++ b/avahi-daemon/dbus-protocol.c
@@ -868,7 +868,6 @@ static void service_resolver_callback(
DBusMessage *reply;
g_assert(r);
- g_assert(host_name);
g_assert(i);
if (event == AVAHI_RESOLVER_FOUND) {
@@ -878,6 +877,8 @@ static void service_resolver_callback(
guint n, j;
AvahiStringList *p;
+ g_assert(host_name);
+
g_assert(a);
avahi_address_snprint(t, sizeof(t), a);