From 563b31d0fdc97c1abc70a570a7c3f9733c4ef1b6 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 13 Feb 1997 04:40:28 +0000 Subject: Allow the smtphost option to set the host queried for by ETRN. svn path=/trunk/; revision=875 --- etrn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etrn.c') diff --git a/etrn.c b/etrn.c index e791f4fc..dc8990a2 100644 --- a/etrn.c +++ b/etrn.c @@ -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); -- cgit v1.2.3