Ignore:
Timestamp:
2006-09-20T19:42:27Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
70f6aab8
Parents:
f06894d
Message:

It can send a valid (pre-XMPP) login packet. Lots of work to do, still...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/xmltree.c

    rf06894d r21167d2  
    206206        struct xt_node *c, *prev;
    207207       
    208         /* Let's just hope xt->root isn't NULL! */
     208        if( !xt || !xt->root )
     209                return;
     210       
    209211        if( node == NULL )
    210212                return xt_cleanup( xt, xt->root );
     
    357359        int i;
    358360       
     361        if( !node )
     362                return;
     363       
    359364        g_free( node->name );
    360365        g_free( node->text );
     
    380385void xt_free( struct xt_parser *xt )
    381386{
     387        if( !xt )
     388                return;
     389       
    382390        if( xt->root )
    383391                xt_free_node( xt->root );
     
    407415{
    408416        int i;
     417       
     418        if( !node )
     419                return NULL;
    409420       
    410421        for( i = 0; node->attr[i].key; i ++ )
Note: See TracChangeset for help on using the changeset viewer.