]> git.meshlink.io Git - catta/blobdiff - avahi-client/client.c
add new client state AVAHI_CLIENT_FAILURE
[catta] / avahi-client / client.c
index ce4cfa0df4eb03d38e46b687198cd89e484fba82..d4faed039ffbe551a017610a92bcc8012b84047a 100644 (file)
@@ -62,6 +62,7 @@ static void client_set_state (AvahiClient *client, AvahiServerState state) {
 
     switch (client->state) {
         case AVAHI_CLIENT_DISCONNECTED:
+        case AVAHI_CLIENT_FAILURE:
             if (client->bus) {
                 dbus_connection_disconnect(client->bus);
                 dbus_connection_unref(client->bus);