summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/dbus-protocol.c
diff options
context:
space:
mode:
authorSebastien Estienne <sebastien.estienne@gmail.com>2005-09-29 22:11:52 +0000
committerSebastien Estienne <sebastien.estienne@gmail.com>2005-09-29 22:11:52 +0000
commit4483bcd6692d77449c017ccebbca47e6fa5e1f1a (patch)
tree75ceb917cc905c03546a77618d40c96348333f57 /avahi-daemon/dbus-protocol.c
parenta1ad29b4108200dc50978f4f71c92394144e2c4a (diff)
* backporting patch from rev 641 and rev 642
git-svn-id: file:///home/lennart/svn/public/avahi/branches/working-0.5.x@654 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 1e69916..8ec45e2 100644
--- a/avahi-daemon/dbus-protocol.c
+++ b/avahi-daemon/dbus-protocol.c
@@ -707,6 +707,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")) {