]> git.meshlink.io Git - catta/commitdiff
Do not fail if address cannot be parsed - it is probably AVAHI_LOOKUP_NO_ADDRESS...
authorJakub Stachowski <qbast@go2.pl>
Thu, 13 Oct 2005 14:53:07 +0000 (14:53 +0000)
committerJakub Stachowski <qbast@go2.pl>
Thu, 13 Oct 2005 14:53:07 +0000 (14:53 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@757 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-client/resolver.c

index c548f0196204f06336e583899d3bdddfb84d8cdb..c51a3bec379f066236ca0e6037d5387ce9c8ca8c 100644 (file)
@@ -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;