aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.c
diff options
context:
space:
mode:
Diffstat (limited to 'etrn.c')
-rw-r--r--etrn.c2
1 files changed, 1 insertions, 1 deletions
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);