srdja / Collections-C

A library of generic data structures for the C language.

Home Page:http://srdja.github.io/Collections-C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

return true while cc_stat is expected

f2404 opened this issue · comments

commented

hashtable.c line 185

enum cc_stat hashtable_add(HashTable *table, void *key, void *val)
{
    ...
            return true;
    ...
}

I wonder which cc_stat value would be returned... (probably 1).

It should definetly be CC_OK.