summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-04-02 18:33:12 +0200
committerStef Walter <stefw@gnome.org>2013-04-03 10:39:09 +0200
commitae7dd1be6d431f25b101bc7e2b3fa373a8cbb47b (patch)
treecf8c828a53b83e959959aa8101e292f987944e13 /common
parent2e8f586cd5a0c4cf2471c085e9e0e4fdcc04d996 (diff)
Don't use library locks from p11-kit tool
The global library p11_library_mutex is for libraries to use, so don't use it from any code in common/, which is also used by the p11-kit tool https://bugs.freedesktop.org/show_bug.cgi?id=63046
Diffstat (limited to 'common')
-rw-r--r--common/library.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/library.c b/common/library.c
index e4512a1..71dd3b9 100644
--- a/common/library.c
+++ b/common/library.c
@@ -111,17 +111,13 @@ p11_message (const char* msg,
void
p11_message_quiet (void)
{
- p11_lock ();
print_messages = false;
- p11_unlock ();
}
void
p11_message_loud (void)
{
- p11_lock ();
print_messages = true;
- p11_unlock ();
}
const char*