]> git.meshlink.io Git - catta/commitdiff
when resolving a service, don't return host name that was assigned to the actual...
authorLennart Poettering <lennart@poettering.net>
Sat, 1 Apr 2006 00:48:55 +0000 (00:48 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 1 Apr 2006 00:48:55 +0000 (00:48 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1185 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-core/resolve-service.c

index a8975466f1118962e456f725bb742cf91b73ef90..1ad60780a9c9843b7e9a69799f89d63216f2f46a 100644 (file)
@@ -131,7 +131,7 @@ static void finish(AvahiSServiceResolver *r, AvahiResolverEvent event) {
                 r->service_name,
                 r->service_type,
                 r->domain_name,
-                r->address_record ? r->address_record->key->name : r->srv_record->data.srv.name,
+                r->srv_record->data.srv.name,
                 r->address_record ? &a : NULL,
                 r->srv_record->data.srv.port,
                 r->txt_record ? r->txt_record->data.txt.string_list : NULL,