]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
make kill -USR1 work again
authorRoger Dingledine <arma@torproject.org>
Sun, 14 Nov 2004 13:35:47 +0000 (13:35 +0000)
committerRoger Dingledine <arma@torproject.org>
Sun, 14 Nov 2004 13:35:47 +0000 (13:35 +0000)
svn:r2853

src/or/main.c

index bbe48fd052149d765bbe6d28ba3a0626166feb28..4fc01c181865480a49b8a063d8f9927cecd63723 100644 (file)
@@ -818,7 +818,7 @@ static int do_main_loop(void) {
     }
     if(please_dumpstats) {
       /* prefer to log it at INFO, but make sure we always see it */
-      dumpstats(get_min_log_level()>LOG_INFO ? get_min_log_level() : LOG_INFO);
+      dumpstats(get_min_log_level()<LOG_INFO ? get_min_log_level() : LOG_INFO);
       please_dumpstats = 0;
     }
     if(please_reset) {