aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-12-14 05:55:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-12-14 05:55:04 +0000
commitac0dc02d3b255066da65eff3b1e8b8ca4629b0e0 (patch)
tree655af3cf86af4ad92a09ef35265ff994e844a534 /sink.c
parent1cfff67a6ad3213ce0cc46116bb0b018b18f8226 (diff)
downloadfetchmail-ac0dc02d3b255066da65eff3b1e8b8ca4629b0e0.tar.gz
fetchmail-ac0dc02d3b255066da65eff3b1e8b8ca4629b0e0.tar.bz2
fetchmail-ac0dc02d3b255066da65eff3b1e8b8ca4629b0e0.zip
LMTP fix.
svn path=/trunk/; revision=3560
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sink.c b/sink.c
index 6ade2018..c7528612 100644
--- a/sink.c
+++ b/sink.c
@@ -794,6 +794,12 @@ static int open_smtp_sink(struct query *ctl, struct msgblk *msg,
return(handle_smtp_report(ctl, msg));
}
+ /*
+ * We need to stash this away in order to know how many
+ * response lines to expect after the LMTP end-of-message.
+ */
+ lmtp_responses = *good_addresses;
+
return(PS_SUCCESS);
}
@@ -1016,12 +1022,6 @@ int open_sink(struct query *ctl, struct msgblk *msg,
if (ctl->mda) /* must deliver through an MDA */
return(open_mda_sink(ctl, msg, good_addresses, bad_addresses));
- /*
- * We need to stash this away in order to know how many
- * response lines to expect after the LMTP end-of-message.
- */
- lmtp_responses = *good_addresses;
-
return(PS_SUCCESS);
}