]> git.meshlink.io Git - catta/commitdiff
fix yet another bug found by our bugfinder number one, Sebastien. Thank you, Sebest!
authorLennart Poettering <lennart@poettering.net>
Wed, 28 Sep 2005 01:41:53 +0000 (01:41 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 28 Sep 2005 01:41:53 +0000 (01:41 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@642 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-daemon/dbus-protocol.c

index 7513dc60abc427f448aed04883e214faa24a3131..e5b099883474bac19573ccab28f7d86ba7cbc22a 100644 (file)
@@ -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")) {