From: <the...@us...> - 2006-08-21 02:01:45
|
Revision: 16929 Author: thekingant Date: 2006-08-20 19:01:38 -0700 (Sun, 20 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16929&view=rev Log Message: ----------- This stuff should no longer be necessary Modified Paths: -------------- trunk/libgaim/protocols/irc/irc.c Modified: trunk/libgaim/protocols/irc/irc.c =================================================================== --- trunk/libgaim/protocols/irc/irc.c 2006-08-21 01:47:51 UTC (rev 16928) +++ trunk/libgaim/protocols/irc/irc.c 2006-08-21 02:01:38 UTC (rev 16929) @@ -379,15 +379,7 @@ GaimInputCondition cond) { GaimConnection *gc = data; - struct irc_conn *irc = gc->proto_data; - if(!g_list_find(gaim_connections_get_all(), gc)) { - gaim_ssl_close(gsc); - return; - } - - irc->gsc = gsc; - if (do_login(gc)) { gaim_ssl_input_add(gsc, irc_input_cb_ssl, gc); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <the...@us...> - 2006-08-21 02:05:57
|
Revision: 16930 Author: thekingant Date: 2006-08-20 19:05:55 -0700 (Sun, 20 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16930&view=rev Log Message: ----------- 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. Modified Paths: -------------- trunk/libgaim/protocols/irc/irc.c Modified: trunk/libgaim/protocols/irc/irc.c =================================================================== --- trunk/libgaim/protocols/irc/irc.c 2006-08-21 02:01:38 UTC (rev 16929) +++ trunk/libgaim/protocols/irc/irc.c 2006-08-21 02:05:55 UTC (rev 16930) @@ -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) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dat...@us...> - 2006-09-08 02:19:31
|
Revision: 17188 http://svn.sourceforge.net/gaim/?rev=17188&view=rev Author: datallah Date: 2006-09-07 19:19:23 -0700 (Thu, 07 Sep 2006) Log Message: ----------- leak plug Modified Paths: -------------- trunk/libgaim/protocols/irc/irc.c Modified: trunk/libgaim/protocols/irc/irc.c =================================================================== --- trunk/libgaim/protocols/irc/irc.c 2006-09-08 01:34:46 UTC (rev 17187) +++ trunk/libgaim/protocols/irc/irc.c 2006-09-08 02:19:23 UTC (rev 17188) @@ -81,6 +81,7 @@ } title = g_strdup_printf(_("MOTD for %s"), irc->server); gaim_notify_formatted(gc, title, title, NULL, irc->motd->str, NULL, NULL); + g_free(title); } static int do_send(struct irc_conn *irc, const char *buf, gsize len) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sea...@us...> - 2006-09-25 21:14:31
|
Revision: 17351 http://svn.sourceforge.net/gaim/?rev=17351&view=rev Author: seanegan Date: 2006-09-25 14:14:24 -0700 (Mon, 25 Sep 2006) Log Message: ----------- typo. Thanks ka-hing. Modified Paths: -------------- trunk/libgaim/protocols/irc/irc.c Modified: trunk/libgaim/protocols/irc/irc.c =================================================================== --- trunk/libgaim/protocols/irc/irc.c 2006-09-25 21:08:39 UTC (rev 17350) +++ trunk/libgaim/protocols/irc/irc.c 2006-09-25 21:14:24 UTC (rev 17351) @@ -144,7 +144,7 @@ int ret, buflen; char *tosend= g_strdup(buf); - gaim_signal_emit(_irc_plugin, "irc-sending_text", gaim_account_get_connection(irc->account), &tosend); + gaim_signal_emit(_irc_plugin, "irc-sending-text", gaim_account_get_connection(irc->account), &tosend); if (tosend == NULL) return 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |