From 67a1658da505035c007d7bc7800e395777889a8e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 10 Jun 2008 20:11:59 +0000 Subject: Fix last geoip bugs. svn:r15106 --- src/or/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/or/main.c') diff --git a/src/or/main.c b/src/or/main.c index fa2708bbbd..55ab39cca6 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -962,8 +962,9 @@ run_scheduled_events(time_t now) if (time_to_dump_geoip_stats < now) { #define DUMP_GEOIP_STATS_INTERVAL (60*60); + if (time_to_dump_geoip_stats) + dump_geoip_stats(); time_to_dump_geoip_stats = now + DUMP_GEOIP_STATS_INTERVAL; - dump_geoip_stats(); } /** 2. Periodically, we consider getting a new directory, getting a -- cgit v1.2.3-54-g00ecf