diff plugins/ssl/ssl-gnutls.c @ 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 f9ed27be344e
children ea2d07ad05a9
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);
 	}