Mercurial > pidgin
comparison libgaim/protocols/irc/irc.c @ 14247:c0d06ccd038b
[gaim-migrate @ 16929]
This stuff should no longer be necessary
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 21 Aug 2006 02:01:38 +0000 |
parents | 60b1bc8dbf37 |
children | 4975f529d909 |
comparison
equal
deleted
inserted
replaced
14246:bcfeac54c1b3 | 14247:c0d06ccd038b |
---|---|
377 | 377 |
378 static void irc_login_cb_ssl(gpointer data, GaimSslConnection *gsc, | 378 static void irc_login_cb_ssl(gpointer data, GaimSslConnection *gsc, |
379 GaimInputCondition cond) | 379 GaimInputCondition cond) |
380 { | 380 { |
381 GaimConnection *gc = data; | 381 GaimConnection *gc = data; |
382 struct irc_conn *irc = gc->proto_data; | |
383 | |
384 if(!g_list_find(gaim_connections_get_all(), gc)) { | |
385 gaim_ssl_close(gsc); | |
386 return; | |
387 } | |
388 | |
389 irc->gsc = gsc; | |
390 | 382 |
391 if (do_login(gc)) { | 383 if (do_login(gc)) { |
392 gaim_ssl_input_add(gsc, irc_input_cb_ssl, gc); | 384 gaim_ssl_input_add(gsc, irc_input_cb_ssl, gc); |
393 } | 385 } |
394 } | 386 } |