X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3a03e18340fd94cad88d0edeedc383aad2d107a3..5800e3234f2594639d82e5063d9c522c6a881d25:/src/src/transport.c diff --git a/src/src/transport.c b/src/src/transport.c index fbd0bb39b..428d522ad 100644 --- a/src/src/transport.c +++ b/src/src/transport.c @@ -1155,8 +1155,12 @@ f.spool_file_wireformat = FALSE; /* If requested, add a terminating "." line (SMTP output). */ -if (tctx->options & topt_end_dot && !write_chunk(tctx, US".\n", 2)) - return FALSE; +if (tctx->options & topt_end_dot) + { + smtp_debug_cmd(US".", 0); + if (!write_chunk(tctx, US".\n", 2)) + return FALSE; + } /* Write out any remaining data in the buffer before returning. */ @@ -1426,7 +1430,7 @@ if (yield) ? !write_chunk(tctx, US".\n", 2) : !write_chunk(tctx, US"\n.\n", 3) ) ) - yield = FALSE; + { smtp_debug_cmd(US".", 0); yield = FALSE; } /* Write out any remaining data in the buffer. */