projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bundle sha1 rather than use libgcrypt/nettle
[yaz-moved-to-github.git]
/
src
/
log.c
diff --git
a/src/log.c
b/src/log.c
index
d005378
..
4edead7
100644
(file)
--- a/
src/log.c
+++ b/
src/log.c
@@
-154,6
+154,15
@@
void yaz_log_close(void)
}
}
+void yaz_log_deinit_globals(void)
+{
+ if (log_mutex)
+ {
+ yaz_mutex_destroy(&log_mutex);
+ yaz_log_close();
+ }
+}
+
void yaz_log_init_file(const char *fname)
{
yaz_init_globals();