aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-09-22 20:39:31 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-09-22 20:39:31 +0200
commitfe7a55434385fd858453dffdbb425a21f41e3859 (patch)
tree31f7d29dd436d59d80d06674c12b98b934ddb467 /protocols/jabber/jabber.c
parent8d7429102adf8dce6844f2f3da2723d1f87c6442 (diff)
Better detection of successful IQ authentication (using packet caching),
properly working SASL authentication (although only PLAIN so far).
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r--protocols/jabber/jabber.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index 13eac23e..c8525db5 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -75,6 +75,8 @@ static void jabber_login( account_t *acc )
*jd->server = 0;
jd->server ++;
+ jd->node_cache = xt_new_node( "cache", NULL, NULL );
+
if( set_getbool( &acc->set, "ssl" ) )
{
signoff( gc );
@@ -102,6 +104,10 @@ static void jabber_close( struct gaim_connection *gc )
if( jd->fd >= 0 )
closesocket( jd->fd );
+ if( jd->tx_len )
+ g_free( jd->txq );
+
+ xt_free_node( jd->node_cache );
xt_free( jd->xt );
g_free( jd->username );