GnuTLS: tweak debug output
authorJeremy Harris <jgh146exb@wizmail.org>
Wed, 12 Feb 2020 14:45:05 +0000 (14:45 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Wed, 12 Feb 2020 14:45:05 +0000 (14:45 +0000)
src/src/tls-gnu.c

index 028d062..0e13f2c 100644 (file)
@@ -3358,8 +3358,8 @@ DEBUG(D_tls) debug_printf("%s(%p, " SIZE_T_FMT "%s)\n", __FUNCTION__,
 
 while (left > 0)
   {
-  DEBUG(D_tls) debug_printf("gnutls_record_send(SSL, %p, " SIZE_T_FMT ")\n",
-      buff, left);
+  DEBUG(D_tls) debug_printf("gnutls_record_send(%p, %p, " SIZE_T_FMT ")\n",
+      state->session, buff, left);
 
   do
     outbytes = gnutls_record_send(state->session, buff, left);