diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-07-30 21:29:48 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-07-30 21:29:48 +0000 |
commit | 768378869dfbe86f5bd0084db3187c67347f0537 (patch) | |
tree | 8e616dc254af41321e8053cba2eb0a90ed5afbf6 /etrn.c | |
parent | 57e04d21058a54b858c7d1d4b1f32164671c8dc4 (diff) | |
download | fetchmail-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |