X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/12dd53c7a900b323936790a9e6fc4ae617920968..c09405265ee0956a2c41c41f3ef408d3a03fcb8b:/src/src/transport.c diff --git a/src/src/transport.c b/src/src/transport.c index 0557318d0..1a70b6f32 100644 --- a/src/src/transport.c +++ b/src/src/transport.c @@ -919,19 +919,19 @@ if ((options & topt_no_body) == 0) } } - /* Finished with the check string */ - - nl_check_length = nl_escape_length = 0; - /* A read error on the body will have left len == -1 and errno set. */ if (len != 0) return FALSE; + } - /* If requested, add a terminating "." line (SMTP output). */ +/* Finished with the check string */ - if ((options & topt_end_dot) != 0 && !write_chunk(fd, US".\n", 2, use_crlf)) - return FALSE; - } +nl_check_length = nl_escape_length = 0; + +/* If requested, add a terminating "." line (SMTP output). */ + +if ((options & topt_end_dot) != 0 && !write_chunk(fd, US".\n", 2, use_crlf)) + return FALSE; /* Write out any remaining data in the buffer before returning. */