X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=examples%2Fcore-browse-services.c;h=e8f4aad0a72d6f22855fa50f21cc2380c696fd51;hb=473963ea000bfe23a0d4754988223e4e6e2fb3f2;hp=44f8ece0f48fb8d346d52f2f73d18538cec89d8b;hpb=2c550daf4ac6a6aab7f21047c037b4dd53c57fa6;p=catta diff --git a/examples/core-browse-services.c b/examples/core-browse-services.c index 44f8ece..e8f4aad 100644 --- a/examples/core-browse-services.c +++ b/examples/core-browse-services.c @@ -48,7 +48,7 @@ static CattaServer *server = NULL; static void resolve_callback( CattaSServiceResolver *r, - CATTA_GCC_UNUSED CattaIfIndex interface, + CATTA_GCC_UNUSED CattaIfIndex iface, CATTA_GCC_UNUSED CattaProtocol protocol, CattaResolverEvent event, const char *name, @@ -101,7 +101,7 @@ static void resolve_callback( static void browse_callback( CattaSServiceBrowser *b, - CattaIfIndex interface, + CattaIfIndex iface, CattaProtocol protocol, CattaBrowserEvent event, const char *name, @@ -131,7 +131,7 @@ static void browse_callback( the callback function is called the server will free the resolver for us. */ - if (!(catta_s_service_resolver_new(s, interface, protocol, name, type, domain, CATTA_PROTO_UNSPEC, 0, resolve_callback, s))) + if (!(catta_s_service_resolver_new(s, iface, protocol, name, type, domain, CATTA_PROTO_UNSPEC, 0, resolve_callback, s))) fprintf(stderr, "Failed to resolve service '%s': %s\n", name, catta_strerror(catta_server_errno(s))); break;