From 2738a6c6de1c4d894c9d97688bd96db32d7dc71d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 13 Feb 1997 01:19:04 +0000 Subject: Ready for 3-4. svn path=/trunk/; revision=872 --- etrn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'etrn.c') diff --git a/etrn.c b/etrn.c index e7845819..e791f4fc 100644 --- a/etrn.c +++ b/etrn.c @@ -45,8 +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 */ - gethostbyname(buf, sizeof(buf)); - gen_send(sockfp, "ETRN %s", buf); + gen_send(sockfp, "ETRN %s", fetchmailhost); if (ok = gen_recv(sockfp, buf, sizeof(buf))) return(ok); -- cgit v1.2.3