From: Lennart Poettering Date: Wed, 28 Sep 2005 01:41:53 +0000 (+0000) Subject: fix yet another bug found by our bugfinder number one, Sebastien. Thank you, Sebest! X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=d02bd928460b58fa2bdcce71ee01783a13d3a706;p=catta 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 --- 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")) {