X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=inline;f=avahi-client%2Fclient.c;h=d4faed039ffbe551a017610a92bcc8012b84047a;hb=6f37f0e1126ad3776b80dbd64701f38a58738921;hp=ce4cfa0df4eb03d38e46b687198cd89e484fba82;hpb=854f901f491ccda79aee11edc3d59109cb229d28;p=catta diff --git a/avahi-client/client.c b/avahi-client/client.c index ce4cfa0..d4faed0 100644 --- a/avahi-client/client.c +++ b/avahi-client/client.c @@ -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);