[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] LOG_ERR is for when you"re planning to die.



Update of /home2/or/cvsroot/tor/src/common
In directory moria.mit.edu:/home2/arma/work/onion/0091/tor/src/common

Modified Files:
      Tag: tor-0_0_9-patches
	tortls.c 
Log Message:
LOG_ERR is for when you're planning to die.


Index: tortls.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/common/tortls.c,v
retrieving revision 1.82.2.1
retrieving revision 1.82.2.2
diff -u -d -r1.82.2.1 -r1.82.2.2
--- tortls.c	23 Apr 2005 14:32:25 -0000	1.82.2.1
+++ tortls.c	23 Apr 2005 14:35:13 -0000	1.82.2.2
@@ -807,8 +807,8 @@
 {
   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);
 }