From c9f4a5cc86c896529826038741dd588afde3e0ca Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 29 Sep 2005 22:31:36 +0000 Subject: [PATCH] fix switch fall through error git-svn-id: file:///home/lennart/svn/public/avahi/trunk@655 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- examples/client-browse-services.c | 2 +- examples/core-browse-services.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/client-browse-services.c b/examples/client-browse-services.c index b4e3411..ac65ac4 100644 --- a/examples/client-browse-services.c +++ b/examples/client-browse-services.c @@ -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; diff --git a/examples/core-browse-services.c b/examples/core-browse-services.c index 50f82bc..c2eb180 100644 --- a/examples/core-browse-services.c +++ b/examples/core-browse-services.c @@ -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; -- 2.39.5