]> git.meshlink.io Git - catta/blobdiff - avahi-client/entrygroup.c
Update doxygen docs for publishing a little
[catta] / avahi-client / entrygroup.c
index 003b17cfd5cc309c92063721741e44cf09c46d8a..e43a44fb8ae42b61db5785ce7f084d0141187d58 100644 (file)
@@ -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);
@@ -700,8 +700,6 @@ fail:
         dbus_message_unref(reply);
 
     return r;
-    
-    
 }
 
 /** Add a host/address pair */