From bb14e0a8aa3173c8a6d80b1a9c8b300a452ee9f1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 12 Oct 2005 02:37:08 +0000 Subject: * drop AVAHI_RESOLVER_TIMEOUT, AVAHI_RESOLVER_NOT_FOUND and AVAHI_BROWSER_NOT_FOUND, use AVAHI_xxx_FAILURE instead * set the client/server errno variable when AVAHI_xxx_FAILURE happens * update DBUS interface accordingly, pass errno value with Failure events * Pass DNS return codes to the app by wrapping them in avahi error codes git-svn-id: file:///home/lennart/svn/public/avahi/trunk@732 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/browse-dns-server.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'avahi-core/browse-dns-server.c') diff --git a/avahi-core/browse-dns-server.c b/avahi-core/browse-dns-server.c index 52dafc2..2c907c3 100644 --- a/avahi-core/browse-dns-server.c +++ b/avahi-core/browse-dns-server.c @@ -128,9 +128,7 @@ static void host_name_resolver_callback( break; } - case AVAHI_RESOLVER_NOT_FOUND: case AVAHI_RESOLVER_FAILURE: - case AVAHI_RESOLVER_TIMEOUT: /* Ignore */ break; } @@ -215,7 +213,6 @@ static void record_browser_callback( } case AVAHI_BROWSER_FAILURE: - case AVAHI_BROWSER_NOT_FOUND: case AVAHI_BROWSER_ALL_FOR_NOW: case AVAHI_BROWSER_CACHE_EXHAUSTED: -- cgit