Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/rxhandlers.c

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