summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/dbus-protocol.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-07-30 18:39:44 +0000
committerLennart Poettering <lennart@poettering.net>2005-07-30 18:39:44 +0000
commit32260f5d2ca0370b07da494b60c01a3a861a0c20 (patch)
tree70a1be8424a1cc87c7131e463bdd95254426b712 /avahi-daemon/dbus-protocol.c
parent90ad51a5a526a9c3ef4ebc2ee577d9ae578f7811 (diff)
* 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
Diffstat (limited to 'avahi-daemon/dbus-protocol.c')
-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);