X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmatchstr.c;h=ce9521ca809bbbfa201250aa602f6bd8e09ae485;hb=3c287bc1d48ee6a1f300054c2cebd0ba312bd5b9;hp=15296cc47c7d73d1a63c0768158623d4c8748475;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35;p=yaz-moved-to-github.git diff --git a/src/matchstr.c b/src/matchstr.c index 15296cc..ce9521c 100644 --- a/src/matchstr.c +++ b/src/matchstr.c @@ -14,8 +14,8 @@ #include #include -#include #include +#include #include int yaz_matchstr(const char *s1, const char *s2) @@ -35,10 +35,10 @@ int yaz_matchstr(const char *s1, const char *s2) break; if (c2 != '.') { - if (isupper(c1)) - c1 = tolower(c1); - if (isupper(c2)) - c2 = tolower(c2); + if (yaz_isupper(c1)) + c1 = yaz_tolower(c1); + if (yaz_isupper(c2)) + c2 = yaz_tolower(c2); if (c1 != c2) break; }