changeset 1846:f173a3e14266

[gaim-migrate @ 1856] this should fix the bad password segfault, again. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 12 May 2001 23:14:33 +0000
parents e739d3dddf4c
children 029cc08d9c54
files plugins/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/jabber/jabber.c	Sat May 12 09:49:21 2001 +0000
+++ b/plugins/jabber/jabber.c	Sat May 12 23:14:33 2001 +0000
@@ -1169,7 +1169,7 @@
 	gjab_packet_handler(jd->jc, jabber_handlepacket);
 	gjab_start(jd->jc);
 
-	if (gc->proto_data)
+	if (user->gc && gc->proto_data)
 		gc->inpa = gdk_input_add(jd->jc->fd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION,
 				jabber_callback, gc);