aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.c
diff options
context:
space:
mode:
Diffstat (limited to 'etrn.c')
-rw-r--r--etrn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/etrn.c b/etrn.c
index 2d6ef711..c0f6fea1 100644
--- a/etrn.c
+++ b/etrn.c
@@ -37,16 +37,16 @@ static int etrn_getrange(int sock, struct query *ctl, char *id, int *countp,
struct idlist *qnp; /* pointer to Q names */
struct hostent *hp;
- if ((ok = SMTP_ehlo(sock, ctl->server.names->id, &opts)))
+ if ((ok = SMTP_ehlo(sock, ctl->server.truename, &opts)))
{
error(0, 0, "%s's SMTP listener does not support ESMTP",
- ctl->server.names->id);
+ ctl->server.pollname);
return(ok);
}
else if (!(opts & ESMTP_ETRN))
{
error(0, 0, "%s's SMTP listener does not support ETRN",
- ctl->server.names->id);
+ ctl->server.pollname);
return(PS_PROTOCOL);
}