From eb9711fa034b60bacd458c3726d215787b859cf1 Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" Date: Mon, 18 Aug 2014 18:46:17 +0200 Subject: [PATCH] let core-browse example look for the type used by core-publish example --- examples/core-browse-services.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/core-browse-services.c b/examples/core-browse-services.c index e062e3e..a36668a 100644 --- a/examples/core-browse-services.c +++ b/examples/core-browse-services.c @@ -187,7 +187,7 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char*argv[]) { } /* Create the service browser */ - if (!(sb = avahi_s_service_browser_new(server, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, "_http._tcp", NULL, 0, browse_callback, server))) { + if (!(sb = avahi_s_service_browser_new(server, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, "_ipp._tcp", NULL, 0, browse_callback, server))) { fprintf(stderr, "Failed to create service browser: %s\n", avahi_strerror(avahi_server_errno(server))); goto fail; } -- 2.39.5