]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Non-debugging messages are nice to log too
authorNick Mathewson <nickm@torproject.org>
Thu, 11 Sep 2003 22:13:13 +0000 (22:13 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 11 Sep 2003 22:13:13 +0000 (22:13 +0000)
svn:r444

src/common/log.c

index 8245bd4f5bbd90988ad2286aae0ebaab805b1071..f38089a40f190bc1965261f5583c4158106ca33e 100644 (file)
@@ -29,7 +29,7 @@ logv(int severity, const char *funcname, const char *format, va_list ap)
   struct timeval now;
   
   assert(format);
-  if (severity > loglevel)
+  if (severity < loglevel)
     return;
   my_gettimeofday(&now);