X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Flog.c;h=28ffba572dee58f3df1fdcafe80a3b7f330abc23;hp=b68e308412b53a6e30ae91a2be7844fba526c598;hb=4f3bcae93d51a26709c12b51261c3d95af610cb2;hpb=1fbd038d97d6e1bfe97270ecc17cca123bcc435c diff --git a/src/log.c b/src/log.c index b68e308..28ffba5 100644 --- a/src/log.c +++ b/src/log.c @@ -22,11 +22,11 @@ #endif #include #include -#include #include #include #include #include +#include #include #include #include @@ -575,7 +575,7 @@ int yaz_log_mask_str_x(const char *str, int level) negated = 1; str++; } - if (isdigit(*(unsigned char *) str)) + if (yaz_isdigit(*str)) { level = atoi(str); }