X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Flog.c;h=673418b2672b27dc7aaea8de62f07dffe5671bd3;hb=a3e65bcd3250b107397675bc65b35b5939355025;hp=b68e308412b53a6e30ae91a2be7844fba526c598;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35;p=yaz-moved-to-github.git diff --git a/src/log.c b/src/log.c index b68e308..673418b 100644 --- a/src/log.c +++ b/src/log.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ @@ -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); }