From 589c6288c6e7ece516991d4e9b9be5eb78148416 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 30 Sep 2001 13:33:02 +0000 Subject: Eliminate spurious protocol error messages. svn path=/trunk/; revision=3505 --- fetchmail.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fetchmail.c b/fetchmail.c index 89984e25..9ac95a96 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1316,6 +1316,7 @@ static int query_host(struct query *ctl) report(stderr, GT_("IMAP support is not configured.\n")); st = PS_PROTOCOL; #endif /* IMAP_ENABLE */ + break; case P_ETRN: #ifndef ETRN_ENABLE report(stderr, GT_("ETRN support is not configured.\n")); @@ -1327,6 +1328,7 @@ static int query_host(struct query *ctl) report(stderr, GT_("Cannot support ETRN without gethostbyname(2).\n")); st = PS_PROTOCOL; #endif /* HAVE_GETHOSTBYNAME */ + break; #endif /* ETRN_ENABLE */ case P_ODMR: #ifndef ODMR_ENABLE @@ -1340,6 +1342,7 @@ static int query_host(struct query *ctl) st = PS_PROTOCOL; #endif /* HAVE_GETHOSTBYNAME */ #endif /* ODMR_ENABLE */ + break; default: report(stderr, GT_("unsupported protocol selected.\n")); st = PS_PROTOCOL; -- cgit v1.2.3