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 76c12121..38944665 100644
--- a/etrn.c
+++ b/etrn.c
@@ -60,7 +60,7 @@ static int etrn_getrange(int sock, struct query *ctl, const char *id,
* By default, the hostlist has a single entry, the fetchmail host's
* canonical DNS name.
*/
- for (qnp = ctl->smtphunt; qnp; qnp = qnp->next)
+ for (qnp = ctl->domainlist; qnp; qnp = qnp->next)
{
/* ship the actual poll and get the response */
gen_send(sock, "ETRN %s", qnp->id);