summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/dbus-protocol.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-09-28 01:41:53 +0000
committerLennart Poettering <lennart@poettering.net>2005-09-28 01:41:53 +0000
commitd02bd928460b58fa2bdcce71ee01783a13d3a706 (patch)
treec310bd3a26e86fbcc46eaea6cc997a7e62cfc995 /avahi-daemon/dbus-protocol.c
parent5de0404511175a1c294229b1cbda1c51a7a5eb8c (diff)
fix yet another bug found by our bugfinder number one, Sebastien. Thank you, Sebest!
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@642 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/dbus-protocol.c')
-rw-r--r--avahi-daemon/dbus-protocol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/avahi-daemon/dbus-protocol.c b/avahi-daemon/dbus-protocol.c
index 7513dc6..e5b0998 100644
--- a/avahi-daemon/dbus-protocol.c
+++ b/avahi-daemon/dbus-protocol.c
@@ -752,6 +752,7 @@ static DBusHandlerResult msg_entry_group_impl(DBusConnection *c, DBusMessage *m,
}
avahi_s_entry_group_reset(i->entry_group);
+ i->n_entries = 0;
return respond_ok(c, m);
} else if (dbus_message_is_method_call(m, AVAHI_DBUS_INTERFACE_ENTRY_GROUP, "IsEmpty")) {