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 028d06219ca02936d95fc49be094040da6ce8b39..0e13f2c9c17b7160377241b6bb0ff924b753d364 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);