From feae35a24a8d234ae5a4eb629cd09c905f74dc04 Mon Sep 17 00:00:00 2001 From: Jakub Stachowski Date: Thu, 13 Oct 2005 14:53:07 +0000 Subject: [PATCH] Do not fail if address cannot be parsed - it is probably AVAHI_LOOKUP_NO_ADDRESS case git-svn-id: file:///home/lennart/svn/public/avahi/trunk@757 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-client/resolver.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/avahi-client/resolver.c b/avahi-client/resolver.c index c548f01..c51a3be 100644 --- a/avahi-client/resolver.c +++ b/avahi-client/resolver.c @@ -140,10 +140,7 @@ DBusHandlerResult avahi_service_resolver_event (AvahiClient *client, AvahiResolv dbus_message_iter_get_basic(&iter, &flags); assert(address); - if (!avahi_address_parse(address, (AvahiProtocol) aprotocol, &a)) { - fprintf(stderr, "Failed to parse address\n"); - goto fail; - } + avahi_address_parse(address, (AvahiProtocol) aprotocol, &a); if (address[0] == 0) address = NULL; -- 2.39.5