aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-12-14 15:44:12 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-12-14 15:44:12 +0000
commit0a29774f21e3cdec09fe18a6acf7a4e889817dc8 (patch)
treec92fa036654514c37780ceaba8996235e28a0fa7 /etrn.c
parent65487dc2b4af38e3443ec74a020c7b2b0ed703df (diff)
downloadfetchmail-0a29774f21e3cdec09fe18a6acf7a4e889817dc8.tar.gz
fetchmail-0a29774f21e3cdec09fe18a6acf7a4e889817dc8.tar.bz2
fetchmail-0a29774f21e3cdec09fe18a6acf7a4e889817dc8.zip
ID ourselves correctly in ETRN mode.
svn path=/trunk/; revision=2271
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);