aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-09-30 13:33:02 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-09-30 13:33:02 +0000
commit589c6288c6e7ece516991d4e9b9be5eb78148416 (patch)
tree4974c58bc1799f843e159ae736195c2c3ff60013 /fetchmail.c
parent19d9e9bcd3f2afa2df1bbf6534b88197c3521e07 (diff)
downloadfetchmail-589c6288c6e7ece516991d4e9b9be5eb78148416.tar.gz
fetchmail-589c6288c6e7ece516991d4e9b9be5eb78148416.tar.bz2
fetchmail-589c6288c6e7ece516991d4e9b9be5eb78148416.zip
Eliminate spurious protocol error messages.
svn path=/trunk/; revision=3505
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c3
1 files changed, 3 insertions, 0 deletions
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;