summaryrefslogtreecommitdiffstats
path: root/avahi-utils/avahi-browse.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-06 16:12:03 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-06 16:12:03 +0000
commit4e2113a7d5b702ff070e8220b32662bb00ae02dd (patch)
tree1a1812f25e83f36d5fd9667939ab253219be3ec7 /avahi-utils/avahi-browse.c
parent3b4cd4f3530aa24bb5b38146372b87e966ce62d4 (diff)
* 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
Diffstat (limited to 'avahi-utils/avahi-browse.c')
-rw-r--r--avahi-utils/avahi-browse.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/avahi-utils/avahi-browse.c b/avahi-utils/avahi-browse.c
index b8910fc..38460f3 100644
--- a/avahi-utils/avahi-browse.c
+++ b/avahi-utils/avahi-browse.c
@@ -480,11 +480,6 @@ static void client_callback(AvahiClient *c, AvahiClientState state, AVAHI_GCC_UN
avahi_simple_poll_quit(simple_poll);
break;
- case AVAHI_CLIENT_DISCONNECTED:
- fprintf(stderr, "Client disconnected, exiting.\n");
- avahi_simple_poll_quit(simple_poll);
- break;
-
case AVAHI_CLIENT_S_REGISTERING:
case AVAHI_CLIENT_S_RUNNING:
case AVAHI_CLIENT_S_COLLISION: