aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-07-30 21:29:48 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-07-30 21:29:48 +0000
commit768378869dfbe86f5bd0084db3187c67347f0537 (patch)
tree8e616dc254af41321e8053cba2eb0a90ed5afbf6 /etrn.c
parent57e04d21058a54b858c7d1d4b1f32164671c8dc4 (diff)
downloadfetchmail-768378869dfbe86f5bd0084db3187c67347f0537.tar.gz
fetchmail-768378869dfbe86f5bd0084db3187c67347f0537.tar.bz2
fetchmail-768378869dfbe86f5bd0084db3187c67347f0537.zip
Break the pollname out of the names list.
svn path=/trunk/; revision=1207
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);
}