changeset 7481:5f0f9d7fba6a

[gaim-migrate @ 8094] Fixed a crash bug in the GNUTLS SSL plugin. Patch by Brian Candler. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 11 Nov 2003 22:22:31 +0000
parents d70cfddd8164
children 9b69fdd148fc
files plugins/ssl/ssl-gnutls.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/ssl/ssl-gnutls.c	Tue Nov 11 21:27:16 2003 +0000
+++ b/plugins/ssl/ssl-gnutls.c	Tue Nov 11 22:22:31 2003 +0000
@@ -95,7 +95,8 @@
 		gaim_debug_error("gnutls", "Handshake failed. Error %d\n", ret);
 
 		if (gsc->error_cb != NULL)
-			gsc->error_cb(gsc, GAIM_SSL_HANDSHAKE_FAILED, data);
+			gsc->error_cb(gsc, GAIM_SSL_HANDSHAKE_FAILED,
+						  gsc->connect_cb_data);
 
 		gaim_ssl_close(gsc);
 	}