Browse Source

LOG_ERR is for when you're planning to die.

svn:r4087
Roger Dingledine 20 years ago
parent
commit
54fd9df23f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/common/tortls.c

+ 2 - 2
src/common/tortls.c

@@ -850,8 +850,8 @@ void _check_no_tls_errors(const char *fname, int line)
 {
   if (ERR_peek_error() == 0)
     return;
-  log_fn(LOG_ERR, "Unhandled OpenSSL errors found at %s:%d: ",
+  log_fn(LOG_WARN, "Unhandled OpenSSL errors found at %s:%d: ",
          fname, line);
-  tls_log_errors(LOG_ERR, NULL);
+  tls_log_errors(LOG_WARN, NULL);
 }