aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.c
diff options
context:
space:
mode:
Diffstat (limited to 'etrn.c')
-rw-r--r--etrn.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/etrn.c b/etrn.c
index 74dadc1e..203dc4df 100644
--- a/etrn.c
+++ b/etrn.c
@@ -70,16 +70,19 @@ static int etrn_getrange(int sock, struct query *ctl, const char *id,
switch(atoi(buf))
{
case 250: /* OK, queuing for node <x> started */
- error(0, 0, _("Queuing for %s started"), qnp->id);
+ if (outlevel >= O_SILENT)
+ error(0, 0, _("Queuing for %s started"), qnp->id);
break;
case 251: /* OK, no messages waiting for node <x> */
- error(0, 0, _("No messages waiting for %s"), qnp->id);
+ if (outlevel >= O_SILENT)
+ error(0, 0, _("No messages waiting for %s"), qnp->id);
return(PS_NOMAIL);
case 252: /* OK, pending messages for node <x> started */
case 253: /* OK, <n> pending messages for node <x> started */
- error(0, 0, _("Pending messages for %s started"), qnp->id);
+ if (outlevel >= O_SILENT)
+ error(0, 0, _("Pending messages for %s started"), qnp->id);
break;
case 458: /* Unable to queue messages for node <x> */