diff options
-rw-r--r-- | common/library.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/library.c b/common/library.c index 64b8baf..e4512a1 100644 --- a/common/library.c +++ b/common/library.c @@ -103,8 +103,8 @@ p11_message (const char* msg, /* If printing is not disabled, just print out */ if (print_messages) fprintf (stderr, "p11-kit: %s\n", buffer); - - p11_debug_message (P11_DEBUG_LIB, "message: %s", buffer); + else + p11_debug_message (P11_DEBUG_LIB, "message: %s", buffer); p11_message_store (buffer, length); } |