]> git.meshlink.io Git - catta/commitdiff
fix switch fall through error
authorLennart Poettering <lennart@poettering.net>
Thu, 29 Sep 2005 22:31:36 +0000 (22:31 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 29 Sep 2005 22:31:36 +0000 (22:31 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@655 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

examples/client-browse-services.c
examples/core-browse-services.c

index b4e34115f74e50f659cbd59d2aaf7ce68e5f807d..ac65ac42c1221efb6137f91af638b0a5fce84bfc 100644 (file)
@@ -60,7 +60,7 @@ static void resolve_callback(
         case AVAHI_RESOLVER_FAILURE:
             fprintf(stderr, "(Resolver) Failed to resolve service '%s' of type '%s' in domain '%s': %s\n", name, type, domain,
                     event == AVAHI_RESOLVER_TIMEOUT ? "TIMEOUT" : (event == AVAHI_RESOLVER_NOT_FOUND ? "NOT_FOUND" : "FAILURE"));
-
+            break;
 
         case AVAHI_RESOLVER_FOUND: {
             char a[128], *t;
index 50f82bc9ee2ba41df2aad385acff93b7928a123d..c2eb180733fb04924e3bd1a306f964a0dbf5f0d8 100644 (file)
@@ -73,6 +73,7 @@ static void resolve_callback(
         case AVAHI_RESOLVER_FAILURE:
             fprintf(stderr, "Failed to resolve service '%s' of type '%s' in domain '%s': %s\n", name, type, domain,
                     event == AVAHI_RESOLVER_TIMEOUT ? "TIMEOUT" : (event == AVAHI_RESOLVER_NOT_FOUND ? "NOT_FOUND" : "FAILURE"));
+            break;
 
         case AVAHI_RESOLVER_FOUND: {
             char a[128], *t;