X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmatchstr.c;h=ce9521ca809bbbfa201250aa602f6bd8e09ae485;hp=15296cc47c7d73d1a63c0768158623d4c8748475;hb=4f3bcae93d51a26709c12b51261c3d95af610cb2;hpb=1fbd038d97d6e1bfe97270ecc17cca123bcc435c 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; }