diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-02-13 04:40:28 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-02-13 04:40:28 +0000 |
commit | 563b31d0fdc97c1abc70a570a7c3f9733c4ef1b6 (patch) | |
tree | c51854eb2fe5d6782f8cc19152da5f600bfc6cca /etrn.c | |
parent | 62956ac9f03d14a812455af8b4c80dd5f9a57914 (diff) | |
download | fetchmail-563b31d0fdc97c1abc70a570a7c3f9733c4ef1b6.tar.gz fetchmail-563b31d0fdc97c1abc70a570a7c3f9733c4ef1b6.tar.bz2 fetchmail-563b31d0fdc97c1abc70a570a7c3f9733c4ef1b6.zip |
Allow the smtphost option to set the host queried for by ETRN.
svn path=/trunk/; revision=875
Diffstat (limited to 'etrn.c')
-rw-r--r-- | etrn.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ static int etrn_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp) *countp = *newp = -1; /* make sure we don't enter the fetch loop */ /* ship the actual poll and get the response */ - gen_send(sockfp, "ETRN %s", fetchmailhost); + gen_send(sockfp, "ETRN %s", ctl->smtphost); if (ok = gen_recv(sockfp, buf, sizeof(buf))) return(ok); |