X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/394938c479925750ffe56c28d281945ba4003a14..807aad387f6698a1eec1acf340496f064cb04cbb:/keydb_fs.c?ds=inline diff --git a/keydb_fs.c b/keydb_fs.c index 08aff83..01101f0 100644 --- a/keydb_fs.c +++ b/keydb_fs.c @@ -347,7 +347,9 @@ static struct ll *internal_get_key_by_word(char *word, struct ll *mct) de = readdir(d); if (de && de->d_name[0] != '.') { if ((!mct) - || (llfind(mct, de->d_name, strcmp) != + || (llfind(mct, de->d_name, + (int (*)(const void *, const void *)) + strcmp) != NULL)) { logthing(LOGTHING_CRITICAL, "Found %s // %s", word,