Changeset 5255


Ignore:
Timestamp:
May 18, 2011, 10:20:40 AM (8 years ago)
Author:
schlocke
Message:

cccam: good/bad sid list fix

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-datastruct-llist.c

    r5242 r5255  
    349349}
    350350
    351 int32_t ll_contains_data(LLIST *l, void *obj, uint32_t size)
     351void *ll_contains_data(LLIST *l, void *obj, uint32_t size)
    352352{
    353353    if (!l || !obj)
    354       return 0;
     354      return NULL;
    355355    LL_ITER it = ll_iter_create(l);
    356356    void *data;
     
    359359        break;
    360360    }
    361     return (!data);
     361    return data;
    362362}
    363363
  • trunk/module-datastruct-llist.h

    r5242 r5255  
    5353
    5454int32_t ll_contains(LLIST *l, void *obj);
    55 int32_t ll_contains_data(LLIST *l, void *obj, uint32_t size);
     55void *ll_contains_data(LLIST *l, void *obj, uint32_t size);
    5656int32_t ll_remove(LLIST *l, void *obj);
    5757void ll_remove_data(LLIST *l, void *obj);
Note: See TracChangeset for help on using the changeset viewer.