aboutsummaryrefslogtreecommitdiffstats
path: root/odmr.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-04-01 08:16:29 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-04-01 08:16:29 +0000
commitd988048914d0f54c06c3bf86ab97a4c14b9e78fe (patch)
treebf5d8b17652a97e6522d75b0ffaf874403010146 /odmr.c
parent71bc7ce6858ee50574dc574a948ea24b5d2d0bfc (diff)
downloadfetchmail-d988048914d0f54c06c3bf86ab97a4c14b9e78fe.tar.gz
fetchmail-d988048914d0f54c06c3bf86ab97a4c14b9e78fe.tar.bz2
fetchmail-d988048914d0f54c06c3bf86ab97a4c14b9e78fe.zip
Other routine fixups.
svn path=/trunk/; revision=3604
Diffstat (limited to 'odmr.c')
-rw-r--r--odmr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/odmr.c b/odmr.c
index 0c4db033..3dcb3e62 100644
--- a/odmr.c
+++ b/odmr.c
@@ -95,12 +95,12 @@ static int odmr_getrange(int sock, struct query *ctl, const char *id,
switch(atoi(buf))
{
case 250: /* OK, turnaround is about to happe */
- if (outlevel >= O_SILENT)
+ if (outlevel > O_SILENT)
report(stdout, GT_("Turnaround now...\n"));
break;
case 450: /* ATRN request refused */
- if (outlevel >= O_SILENT)
+ if (outlevel > O_SILENT)
report(stdout, GT_("ATRN request refused.\n"));
return(PS_PROTOCOL);
@@ -109,7 +109,8 @@ static int odmr_getrange(int sock, struct query *ctl, const char *id,
return(PS_EXCLUDE);
case 453: /* You have no mail */
- report(stderr, GT_("You have no mail.\n"));
+ if (outlevel > O_SILENT)
+ report(stderr, GT_("You have no mail.\n"));
return(PS_NOMAIL);
case 502: /* Command not implemented */