From: Adam Dickmeiss Date: Tue, 25 Feb 2014 20:49:34 +0000 (+0100) Subject: Fix: Setting env YAZ_LOG makes YAZ hang YAZ-745 X-Git-Tag: v5.0.17~5 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=ab61788b20fce5faedceb7599f6b5f43be72ba9a;ds=sidebyside Fix: Setting env YAZ_LOG makes YAZ hang YAZ-745 yaz_init_gloabsl calls yaz_log_init_globals calls yaz_log_mask_str_x . Do not call yaz_init_globals from log_mask_str_x. --- diff --git a/src/log.c b/src/log.c index eccb1ed..265dd77 100644 --- a/src/log.c +++ b/src/log.c @@ -581,7 +581,6 @@ int yaz_log_mask_str_x(const char *str, int level) { const char *p; - yaz_init_globals(); while (*str) { int negated = 0;