summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/smtp_out.c5
-rw-r--r--src/src/tls-openssl.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/src/smtp_out.c b/src/src/smtp_out.c
index ba6153ea9..32382c305 100644
--- a/src/src/smtp_out.c
+++ b/src/src/smtp_out.c
@@ -500,8 +500,9 @@ for (;;)
if((rc = ip_recv(sock, inblock->buffer, inblock->buffersize, timeout)) <= 0)
{
- if (!errno)
- DEBUG(D_deliver|D_transport|D_acl) debug_printf_indent(" SMTP(closed)<<\n");
+ DEBUG(D_deliver|D_transport|D_acl)
+ debug_printf_indent(errno ? " SMTP(%s)<<\n" : " SMTP(closed)<<\n",
+ strerror(errno));
break;
}
diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index 2d3688263..8018d220b 100644
--- a/src/src/tls-openssl.c
+++ b/src/src/tls-openssl.c
@@ -641,7 +641,7 @@ if (!(dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL)))
if ((8*DH_size(dh)) > tls_dh_max_bits)
{
DEBUG(D_tls)
- debug_printf("dhparams file %d bits, is > tls_dh_max_bits limit of %d",
+ debug_printf("dhparams file %d bits, is > tls_dh_max_bits limit of %d\n",
8*DH_size(dh), tls_dh_max_bits);
}
else