diff options
Diffstat (limited to 'common/message.c')
-rw-r--r-- | common/message.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/message.c b/common/message.c index f9d4f57..e439def 100644 --- a/common/message.c +++ b/common/message.c @@ -58,7 +58,7 @@ #include <stdio.h> #include <string.h> -static bool print_messages = false; +bool p11_print_messages = false; #ifdef HAVE_STRERROR_L locale_t p11_message_locale = (locale_t) 0; @@ -148,7 +148,7 @@ p11_message (const char* msg, buffer[length] = 0; /* If printing is not disabled, just print out */ - if (print_messages) + if (p11_print_messages) fprintf (stderr, "p11-kit: %s\n", buffer); else p11_debug_message (P11_DEBUG_LIB, "message: %s", buffer); @@ -158,13 +158,13 @@ p11_message (const char* msg, void p11_message_quiet (void) { - print_messages = false; + p11_print_messages = false; } void p11_message_loud (void) { - print_messages = true; + p11_print_messages = true; } const char * |