From: Sven M. Hallberg Date: Mon, 18 Aug 2014 16:46:17 +0000 (+0200) Subject: let core-browse example look for the type used by core-publish example X-Git-Url: http://git.meshlink.io/?p=catta;a=commitdiff_plain;h=eb9711fa034b60bacd458c3726d215787b859cf1 let core-browse example look for the type used by core-publish example --- 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; }