summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-01-29 15:29:51 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-01-29 15:29:51 (GMT)
commit84800d74f3c2855fe80d1bc5060923cdb9046551 (patch) (side-by-side diff)
tree49c172b8c2f6887f9e3d3d3957dac16b3bd8cf49
parent7f433992e5323c2806fedc2b470b39b22d01a9cc (diff)
downloadmailfromd-84800d74f3c2855fe80d1bc5060923cdb9046551.tar.gz
mailfromd-84800d74f3c2855fe80d1bc5060923cdb9046551.tar.bz2
Fix in callout
* src/callout.c (reset): Send \r\n after RSET.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/callout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callout.c b/src/callout.c
index 2a57b0d..5c9b3ec 100644
--- a/src/callout.c
+++ b/src/callout.c
@@ -353,7 +353,7 @@ smtp_io_email(struct smtp_io_data *iop)
static mf_status
reset(struct smtp_io_data *io)
{
- smtp_send(io, "RSET");
+ smtp_send2(io, "RSET", NULL);
if (smtp_recv(io, smtp_timeout_rset))
return mf_timeout;
else if (SMTP_MAJOR(io->code) != 2)

Return to:

Send suggestions and report system problems to the System administrator.