X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Flog.c;h=28ffba572dee58f3df1fdcafe80a3b7f330abc23;hb=8fba4cf2cac1cc543aa4c1063c78b449ebac44a7;hp=580de461f640759b7062e4418a5b3000f89f92c7;hpb=d2c24334b58c3fe10d1af36dedb2f4de5a7d9fb9;p=yaz-moved-to-github.git diff --git a/src/log.c b/src/log.c index 580de46..28ffba5 100644 --- a/src/log.c +++ b/src/log.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2011 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); }