From 4e2113a7d5b702ff070e8220b32662bb00ae02dd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 6 Nov 2005 16:12:03 +0000 Subject: * Rename AVAHI_ERR_NOT_CONNECTED to AVAHI_ERR_DISCONNECTED * Remove client state AVAHI_CLIENT_DISCONNECTED and replace it with AVAHI_CLIENT_FAILURE with error code set to AVAHI_ERR_DISCONNECTED git-svn-id: file:///home/lennart/svn/public/avahi/trunk@935 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- examples/client-publish-service.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'examples/client-publish-service.c') diff --git a/examples/client-publish-service.c b/examples/client-publish-service.c index 2f126c1..50a7002 100644 --- a/examples/client-publish-service.c +++ b/examples/client-publish-service.c @@ -150,13 +150,6 @@ static void client_callback(AvahiClient *c, AvahiClientState state, AVAHI_GCC_UN avahi_entry_group_reset(group); break; - case AVAHI_CLIENT_DISCONNECTED: - - fprintf(stderr, "Server connection terminated.\n"); - avahi_simple_poll_quit(simple_poll); - - break; - case AVAHI_CLIENT_FAILURE: fprintf(stderr, "Client failure: %s\n", avahi_strerror(avahi_client_errno(c))); -- cgit