[or-cvs] Non-debugging messages are nice to log too

Nick Mathewson nickm at seul.org
Thu Sep 11 22:13:15 UTC 2003


Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv5839/src/common

Modified Files:
	log.c 
Log Message:
Non-debugging messages are nice to log too

Index: log.c
===================================================================
RCS file: /home/or/cvsroot/src/common/log.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- log.c	12 Aug 2003 03:16:14 -0000	1.10
+++ log.c	11 Sep 2003 22:13:13 -0000	1.11
@@ -29,7 +29,7 @@
   struct timeval now;
   
   assert(format);
-  if (severity > loglevel)
+  if (severity < loglevel)
     return;
   my_gettimeofday(&now);
 



More information about the tor-commits mailing list