projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
662e5d3
)
Fix: Setting env YAZ_LOG makes YAZ hang YAZ-745
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 25 Feb 2014 20:49:34 +0000
(21:49 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 25 Feb 2014 20:49:34 +0000
(21:49 +0100)
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
patch
|
blob
|
history
diff --git
a/src/log.c
b/src/log.c
index
eccb1ed
..
265dd77
100644
(file)
--- 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;