Changeset 671b1ef


Ignore:
Timestamp:
2017-10-05T03:00:54Z (7 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
4857350, 861de54
Parents:
a1c92dd
Message:

tests: fix build warnings in jabber_buddy_by_jid tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/check_jabber_util.c

    ra1c92dd r671b1ef  
    3737        fail_unless(jabber_buddy_by_jid(ic, "wilmer@GAAST.NET/BitlBee", GET_BUDDY_CREAT) == budw1);
    3838
    39         fail_unless(jabber_buddy_by_jid(ic, "wilmer@gaast.net", GET_BUDDY_EXACT));
     39        fail_unless(jabber_buddy_by_jid(ic, "wilmer@gaast.net", GET_BUDDY_EXACT) != NULL);
    4040        fail_unless(jabber_buddy_by_jid(ic, "WILMER@gaast.net", 0) == budw3);
    4141
     
    8383        fail_if(jabber_buddy_remove(ic, "nekkid@lamejab.net/Illegal"));
    8484        fail_unless(jabber_buddy_remove(ic, "nekkid@lamejab.net"));
    85         fail_if(jabber_buddy_by_jid(ic, "nekkid@lamejab.net", 0));
     85        fail_if(jabber_buddy_by_jid(ic, "nekkid@lamejab.net", 0) != NULL);
    8686
    8787        /* Fixing a bug in this branch that caused information to get lost when
Note: See TracChangeset for help on using the changeset viewer.