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 ca38299a..58051345 100644
--- a/etrn.c
+++ b/etrn.c
@@ -37,7 +37,7 @@ static int etrn_getrange(int sock, struct query *ctl, const char *id,
char buf [MSGBUFSIZE+1];
struct idlist *qnp; /* pointer to Q names */
- if ((ok = SMTP_ehlo(sock, ctl->server.truename, &opts)))
+ if ((ok = SMTP_ehlo(sock, fetchmailhost, &opts)))
{
error(0, 0, _("%s's SMTP listener does not support ESMTP"),
ctl->server.pollname);