aboutsummaryrefslogtreecommitdiffstats
path: root/odmr.c
diff options
context:
space:
mode:
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 */