diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-01-29 17:29:51 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-01-29 17:29:51 +0200 |
commit | 84800d74f3c2855fe80d1bc5060923cdb9046551 (patch) | |
tree | 49c172b8c2f6887f9e3d3d3957dac16b3bd8cf49 | |
parent | 7f433992e5323c2806fedc2b470b39b22d01a9cc (diff) | |
download | mailfromd-84800d74f3c2855fe80d1bc5060923cdb9046551.tar.gz mailfromd-84800d74f3c2855fe80d1bc5060923cdb9046551.tar.bz2 |
Fix in callout
* src/callout.c (reset): Send \r\n after RSET.
-rw-r--r-- | src/callout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callout.c b/src/callout.c index 2a57b0d4..5c9b3ec0 100644 --- a/src/callout.c +++ b/src/callout.c | |||
@@ -353,7 +353,7 @@ smtp_io_email(struct smtp_io_data *iop) | |||
353 | static mf_status | 353 | static mf_status |
354 | reset(struct smtp_io_data *io) | 354 | reset(struct smtp_io_data *io) |
355 | { | 355 | { |
356 | smtp_send(io, "RSET"); | 356 | smtp_send2(io, "RSET", NULL); |
357 | if (smtp_recv(io, smtp_timeout_rset)) | 357 | if (smtp_recv(io, smtp_timeout_rset)) |
358 | return mf_timeout; | 358 | return mf_timeout; |
359 | else if (SMTP_MAJOR(io->code) != 2) | 359 | else if (SMTP_MAJOR(io->code) != 2) |