From: Jakub Stachowski Date: Thu, 13 Oct 2005 14:53:07 +0000 (+0000) Subject: Do not fail if address cannot be parsed - it is probably AVAHI_LOOKUP_NO_ADDRESS... X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=feae35a24a8d234ae5a4eb629cd09c905f74dc04;p=catta 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 --- 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;