From 4493b87ecf93c8a2e8c947fd2eb7c503ee347c88 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 13 Feb 1997 18:15:39 +0000 Subject: Correct error messages. svn path=/trunk/; revision=877 --- etrn.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/etrn.c b/etrn.c index dc8990a2..1e44656e 100644 --- a/etrn.c +++ b/etrn.c @@ -53,11 +53,11 @@ static int etrn_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp) switch(atoi(buf)) { case 250: /* OK, queuing for node started */ - error(0, 0, "Queuing for %s started", ctl->server.names->id); + error(0, 0, "Queuing for %s started", ctl->smtphost); break; case 251: /* OK, no messages waiting for node */ - error(0, 0, "No messages waiting for %s", ctl->server.names->id); + error(0, 0, "No messages waiting for %s", ctl->smtphost); return(PS_NOMAIL); case 252: /* OK, pending messages for node started */ @@ -66,12 +66,11 @@ static int etrn_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp) break; case 458: /* Unable to queue messages for node */ - error(0, 0, "Unable to queue messages for node %s", - ctl->server.names->id); + error(0, 0, "Unable to queue messages for node %s", ctl->smtphost); return(PS_PROTOCOL); case 459: /* Node not allowed: */ - error(0, 0, "Node %s not allowed: %s", ctl->server.names->id, buf); + error(0, 0, "Node %s not allowed: %s", ctl->smtphost, buf); return(PS_AUTHFAIL); case 500: /* Syntax Error */ -- cgit v1.2.3