From bce1b94c3aec782393b3f3ffbd2e54eed8a660b0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 20 Apr 2007 14:17:22 +0000 Subject: [PATCH] adda note to avahi_service_resolver_new() to remind people to pass the correct interface/protocol args they received via avahi_service_browser_new()'s callback function git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1449 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-client/lookup.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/avahi-client/lookup.h b/avahi-client/lookup.h index 89d1fb2..e7dec49 100644 --- a/avahi-client/lookup.h +++ b/avahi-client/lookup.h @@ -196,7 +196,9 @@ AvahiClient* avahi_service_browser_get_client (AvahiServiceBrowser *); /** Cleans up and frees an AvahiServiceBrowser object */ int avahi_service_browser_free (AvahiServiceBrowser *); -/** Create a new service resolver object */ +/** Create a new service resolver object. Please make sure to pass all + * the service data you received via avahi_service_browser_new()'s + * callback function, especially interface and protocol. */ AvahiServiceResolver * avahi_service_resolver_new( AvahiClient *client, AvahiIfIndex interface, -- 2.39.5