Ignore:
Timestamp:
2018-03-10T11:30:39Z (7 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
5447c59
Parents:
3f44e43 (diff), 4a9c6b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/rxhandlers.c

    r3f44e43 r7a9d968  
    235235        struct aim_rxcblist_s *newcb;
    236236
    237         if (!conn) {
    238                 return -1;
    239         }
    240 
    241         if (checkdisallowed(family, type)) {
    242                 g_assert(0);
    243                 return -1;
    244         }
     237        g_return_val_if_fail(conn, -1);
     238        g_return_val_if_fail(!checkdisallowed(family, type), -1);
    245239
    246240        if (!(newcb = (struct aim_rxcblist_s *) g_new0(struct aim_rxcblist_s, 1))) {
Note: See TracChangeset for help on using the changeset viewer.