X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Flog.c;h=b439c4cd55933d242d6d934ce7ce529bdf1676bb;hp=eccb1ede7037d431cf10d0e2ebaa34290b1c6284;hb=ee3683039be09b0843e3159426ea0eeecb3777ac;hpb=ebcb0cd09361a4b814ad8b7e629938c474af0be2 diff --git a/src/log.c b/src/log.c index eccb1ed..b439c4c 100644 --- a/src/log.c +++ b/src/log.c @@ -577,11 +577,12 @@ int yaz_log_mask_str(const char *str) return yaz_log_mask_str_x(str, l_level); } +/* this function is called by yaz_log_init_globals & yaz_init_globals + and, thus, may not call any of them indirectly */ int yaz_log_mask_str_x(const char *str, int level) { const char *p; - yaz_init_globals(); while (*str) { int negated = 0;