]> git.meshlink.io Git - catta/blobdiff - examples/client-browse-services.c
* Fix typo of failure, thanks to Michael Burns (Closes #98)
[catta] / examples / client-browse-services.c
index 37550efb7b454444ccef6886e35a62d9588ea668..de6a970b98a7109c98dc8f30e565df4181dbc561 100644 (file)
@@ -146,7 +146,7 @@ static void client_callback(AvahiClient *c, AvahiClientState state, AVAHI_GCC_UN
     /* Called whenever the client or server state changes */
 
     if (state == AVAHI_CLIENT_FAILURE) {
-        fprintf(stderr, "Server connection failre: %s\n", avahi_strerror(avahi_client_errno(c)));
+        fprintf(stderr, "Server connection failure: %s\n", avahi_strerror(avahi_client_errno(c)));
         avahi_simple_poll_quit(simple_poll);
     }
 }