changeset 8369:27c0cb0d8d07

[gaim-migrate @ 9096] that was dumb committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 29 Feb 2004 15:50:00 +0000
parents 57e5ef6b7a69
children 2279bfa6aa59
files plugins/ssl/ssl-gnutls.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/ssl/ssl-gnutls.c	Sun Feb 29 10:13:54 2004 +0000
+++ b/plugins/ssl/ssl-gnutls.c	Sun Feb 29 15:50:00 2004 +0000
@@ -104,8 +104,6 @@
 	}
 	while ((ret == GNUTLS_E_AGAIN) || (ret == GNUTLS_E_INTERRUPTED));
 
-	gaim_debug_info("gnutls", "Handshake complete\n");
-
 	if (ret < 0)
 	{
 		gaim_debug_error("gnutls", "Handshake failed. Error %d\n", ret);
@@ -118,6 +116,8 @@
 	}
 	else
 	{
+		gaim_debug_info("gnutls", "Handshake complete\n");
+
 		gsc->connect_cb(gsc->connect_cb_data, gsc, cond);
 	}
 }