From ab61788b20fce5faedceb7599f6b5f43be72ba9a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 25 Feb 2014 21:49:34 +0100 Subject: [PATCH] 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. --- src/log.c | 1 - 1 file changed, 1 deletion(-) 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; -- 1.7.10.4