aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-02-13 18:15:39 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-02-13 18:15:39 +0000
commit4493b87ecf93c8a2e8c947fd2eb7c503ee347c88 (patch)
tree016fdd72107d9b0e12d28201802775008b120225 /etrn.c
parent76127bc2c6f9acd1aaa05b60179e702eee70e9ac (diff)
downloadfetchmail-4493b87ecf93c8a2e8c947fd2eb7c503ee347c88.tar.gz
fetchmail-4493b87ecf93c8a2e8c947fd2eb7c503ee347c88.tar.bz2
fetchmail-4493b87ecf93c8a2e8c947fd2eb7c503ee347c88.zip
Correct error messages.
svn path=/trunk/; revision=877
Diffstat (limited to 'etrn.c')
-rw-r--r--etrn.c9
1 files 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 <x> 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 <x> */
- 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 <x> 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 <x> */
- 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 <x> not allowed: <reason> */
- 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 */