summaryrefslogtreecommitdiffstats
path: root/examples/core-browse-services.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/core-browse-services.c')
-rw-r--r--examples/core-browse-services.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/core-browse-services.c b/examples/core-browse-services.c
index 86b18a0..50f82bc 100644
--- a/examples/core-browse-services.c
+++ b/examples/core-browse-services.c
@@ -93,9 +93,9 @@ static void resolve_callback(
t,
avahi_string_list_get_service_cookie(txt),
avahi_server_is_service_local(server, interface, protocol, name, type, domain),
- !!(flags & AVAHI_LOOKUP_CALLBACK_WIDE_AREA),
- !!(flags & AVAHI_LOOKUP_CALLBACK_MULTICAST),
- !!(flags & AVAHI_LOOKUP_CALLBACK_CACHED));
+ !!(flags & AVAHI_LOOKUP_RESULT_WIDE_AREA),
+ !!(flags & AVAHI_LOOKUP_RESULT_MULTICAST),
+ !!(flags & AVAHI_LOOKUP_RESULT_CACHED));
avahi_free(t);
}
}