diff options
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 7cfe2a8370..70bd45299f 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -152,9 +152,10 @@ crypto_log_errors(int severity, const char *doing) if (!func) func = "(null)"; if (doing) { tor_log(severity, LD_CRYPTO, "crypto error while %s: %s (in %s:%s)", - doing, msg, lib, func); + doing, msg, lib, func); } else { - tor_log(severity, LD_CRYPTO, "crypto error: %s (in %s:%s)", msg, lib, func); + tor_log(severity, LD_CRYPTO, "crypto error: %s (in %s:%s)", + msg, lib, func); } } } |