Fix crash in (Gnu)TLS debug output
[users/jgh/exim.git] / src / src / tls-gnu.c
index 9afaa8feae6f250506e5308b58749324d5638a72..0dead1c18a6487185e67e76ada5bc10ea874b80a 100644 (file)
@@ -2125,7 +2125,7 @@ if (!state->tlsp || state->tlsp->active < 0) return;  /* TLS was not active */
 
 if (shutdown)
   {
-  DEBUG(D_tls) debug_printf("tls_close() from '%s': shutting down TLS\n");
+  DEBUG(D_tls) debug_printf("tls_close(): shutting down TLS\n");
   gnutls_bye(state->session, GNUTLS_SHUT_WR);
   }