From: Lennart Poettering Date: Sat, 30 Jul 2005 18:39:44 +0000 (+0000) Subject: * fix bug reported bei Sebastien Estienne: bogus assert whhen service resolving fails X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=32260f5d2ca0370b07da494b60c01a3a861a0c20;p=catta * fix bug reported bei Sebastien Estienne: bogus assert whhen service resolving fails git-svn-id: file:///home/lennart/svn/public/avahi/trunk@204 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- 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);