bug in build_wordlist_paths (wordlists.c around l. 109)

Matthias Andree matthias.andree at gmx.de
Sat Jan 31 03:04:03 CET 2004


size_t build_wordlist_paths(char **filepaths, const char *path)
{
    bool ok;
    size_t count = 1;
    
    ok = build_path(filepaths[0], sizeof(FILEPATH), path, WORDLIST) == 0;

    return count;
}

Looks bogus:

1. why do we return a constant 1?
2. what is ok for? ICC complains that it isn't used after assignment.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95




More information about the bogofilter-dev mailing list