diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-01-27 16:33:48 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-01-27 16:33:48 +0000 |
commit | 8c9cad6c47e2815a6396ad2ce527c74a323d7f7f (patch) | |
tree | db3de19ae653c284f74fcb5f2401eef9fdaae2c6 /avahi-client | |
parent | 9e066af9247aac3cba6e851d445cea4e42d396f4 (diff) |
fix entry group destruction (closes #5)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1110 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client')
-rw-r--r-- | avahi-client/entrygroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-client/entrygroup.c b/avahi-client/entrygroup.c index 162f2c4..e43a44f 100644 --- a/avahi-client/entrygroup.c +++ b/avahi-client/entrygroup.c @@ -237,7 +237,7 @@ int avahi_entry_group_free(AvahiEntryGroup *group) { assert(group); - if (group->path && !avahi_client_is_connected(client)) + if (group->path && avahi_client_is_connected(client)) r = entry_group_simple_method_call(group, "Free"); AVAHI_LLIST_REMOVE(AvahiEntryGroup, groups, client->groups, group); |