Changeset dde9d57


Ignore:
Timestamp:
2010-03-12T19:35:51Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
00a0bc5
Parents:
be609ff
Message:

Fixed jabber_util unittest. It passes, yet something still seems to be
broken. :-(

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber_util.c

    rbe609ff rdde9d57  
    458458               
    459459                if( bud == NULL && ( flags & GET_BUDDY_CREAT ) &&
    460                     ( imcb_find_buddy( ic, jid ) || bare_exists ) )
     460                    ( bare_exists || imcb_find_buddy( ic, jid ) ) )
    461461                {
    462462                        *s = '/';
  • tests/check_jabber_util.c

    rbe609ff rdde9d57  
    1414       
    1515        budw1 = jabber_buddy_add( ic, "wilmer@gaast.net/BitlBee" );
    16         budw1->last_act = time( NULL ) - 100;
     16        budw1->last_msg = time( NULL ) - 100;
    1717        budw2 = jabber_buddy_add( ic, "WILMER@gaast.net/Telepathy" );
    1818        budw2->priority = 2;
    19         budw2->last_act = time( NULL );
     19        budw2->last_msg = time( NULL );
    2020        budw3 = jabber_buddy_add( ic, "wilmer@GAAST.NET/bitlbee" );
    21         budw3->last_act = time( NULL ) - 200;
     21        budw3->last_msg = time( NULL ) - 200;
    2222        budw3->priority = 4;
    2323        /* TODO(wilmer): Shouldn't this just return budw3? */
Note: See TracChangeset for help on using the changeset viewer.