From d02bd928460b58fa2bdcce71ee01783a13d3a706 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 28 Sep 2005 01:41:53 +0000 Subject: [PATCH] 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 --- avahi-daemon/dbus-protocol.c | 1 + 1 file changed, 1 insertion(+) 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")) { -- 2.7.4