From d988048914d0f54c06c3bf86ab97a4c14b9e78fe Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 1 Apr 2002 08:16:29 +0000 Subject: Other routine fixups. svn path=/trunk/; revision=3604 --- odmr.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'odmr.c') 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 */ -- cgit v1.2.3