Mercurial > pidgin.yaz
changeset 14248:4975f529d909
[gaim-migrate @ 16930]
And this needs to be done before calling gaim_connection_error().
The IRC PPRL should only free the sslconn if the connection is
canceled half-way through, or if the connection has completed and
the user signs offline. If the connection fails normally
then sslconn.c is responsible for destroying the sslconn.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 21 Aug 2006 02:05:55 +0000 |
parents | c0d06ccd038b |
children | 9c371189d7d6 |
files | libgaim/protocols/irc/irc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libgaim/protocols/irc/irc.c Mon Aug 21 02:01:38 2006 +0000 +++ b/libgaim/protocols/irc/irc.c Mon Aug 21 02:05:55 2006 +0000 @@ -411,6 +411,8 @@ GaimConnection *gc = data; struct irc_conn *irc = gc->proto_data; + irc->gsc = NULL; + switch(error) { case GAIM_SSL_CONNECT_FAILED: gaim_connection_error(gc, _("Connection Failed")); @@ -419,8 +421,6 @@ gaim_connection_error(gc, _("SSL Handshake Failed")); break; } - - irc->gsc = NULL; } static void irc_close(GaimConnection *gc)