Changeset 3e6764a for protocols


Ignore:
Timestamp:
2008-06-21T23:34:11Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
98de2cc
Parents:
edc767b
Message:

Added jabber_util unittests (buddy_add/_by_jid only ATM).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber_util.c

    redc767b r3e6764a  
    525525                   matches), removing it is simple. (And the hash reference
    526526                   should be removed too!) */
    527                 if( bud->next == NULL && ( ( s == NULL || bud->resource == NULL ) || g_strcasecmp( bud->resource, s + 1 ) == 0 ) )
     527                if( bud->next == NULL &&
     528                    ( ( s == NULL && bud->resource == NULL ) ||
     529                      ( bud->resource && s && g_strcasecmp( bud->resource, s + 1 ) == 0 ) ) )
    528530                {
    529531                        g_hash_table_remove( jd->buddies, bud->bare_jid );
Note: See TracChangeset for help on using the changeset viewer.