changeset 7325:35e652831230

[gaim-migrate @ 7911] Added a little debug statement to find the error code when handshaking fails. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 25 Oct 2003 00:02:53 +0000
parents 4963abdebd29
children 00a9ab26d607
files plugins/ssl/ssl-gnutls.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/ssl/ssl-gnutls.c	Fri Oct 24 22:01:58 2003 +0000
+++ b/plugins/ssl/ssl-gnutls.c	Sat Oct 25 00:02:53 2003 +0000
@@ -92,7 +92,7 @@
 
 	if (ret < 0)
 	{
-		gaim_debug_error("gnutls", "Handshake failed\n");
+		gaim_debug_error("gnutls", "Handshake failed. Error %d\n", ret);
 
 		if (gsc->error_cb != NULL)
 			gsc->error_cb(gsc, GAIM_SSL_HANDSHAKE_FAILED, data);