Change fmt_findcasecmp() to fmt_findcasecomp(). The new name is more