[exim-cvs] GnuTLS: Tweak debug output

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] GnuTLS: Tweak debug output
Gitweb: https://git.exim.org/exim.git/commitdiff/50a3f20592c79da4acd409b59803dd5ff31b9781
Commit:     50a3f20592c79da4acd409b59803dd5ff31b9781
Parent:     7832b9aa09dc312a137a1a56924d270085fad39e
Author:     Heiko Schlittermann (HS12-RIPE) <hs@???>
AuthorDate: Wed Feb 12 23:39:32 2020 +0100
Committer:  Heiko Schlittermann (HS12-RIPE) <hs@???>
CommitDate: Wed Feb 19 12:02:39 2020 +0100


    GnuTLS: Tweak debug output
---
 src/src/tls-gnu.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c
index 826a3fd..2e1b9e4 100644
--- a/src/src/tls-gnu.c
+++ b/src/src/tls-gnu.c
@@ -3142,7 +3142,7 @@ tls_refill(unsigned lim)
exim_gnutls_state_st * state = &state_server;
ssize_t inbytes;

-DEBUG(D_tls) debug_printf("Calling gnutls_record_recv(%p, %p, %u)\n",
+DEBUG(D_tls) debug_printf("Calling gnutls_record_recv(session=%p, buffer=%p, buffersize=%u)\n",
state->session, state->xfer_buffer, ssl_xfer_buffer_size);

 sigalrm_seen = FALSE;
@@ -3305,7 +3305,7 @@ if (state->xfer_buffer_lwm < state->xfer_buffer_hwm)
         state->xfer_buffer_hwm - state->xfer_buffer_lwm);


 DEBUG(D_tls)
-  debug_printf("Calling gnutls_record_recv(%p, %p, " SIZE_T_FMT ")\n",
+  debug_printf("Calling gnutls_record_recv(session=%p, buffer=%p, len=" SIZE_T_FMT ")\n",
       state->session, buff, len);


do
@@ -3363,7 +3363,7 @@ DEBUG(D_tls) debug_printf("%s(%p, " SIZE_T_FMT "%s)\n", __FUNCTION__,

 while (left > 0)
   {
-  DEBUG(D_tls) debug_printf("gnutls_record_send(%p, %p, " SIZE_T_FMT ")\n",
+  DEBUG(D_tls) debug_printf("gnutls_record_send(session=%p, buffer=%p, left=" SIZE_T_FMT ")\n",
       state->session, buff, left);


do