diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-06-10 20:11:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-06-10 20:11:59 +0000 |
commit | 67a1658da505035c007d7bc7800e395777889a8e (patch) | |
tree | 4c0caaffcab88be2f90b25f40a533c6584194a93 /src/or/main.c | |
parent | 16b62a01e4d640212757e0f532bf6f87f0672a42 (diff) | |
download | tor-67a1658da505035c007d7bc7800e395777889a8e.tar.gz tor-67a1658da505035c007d7bc7800e395777889a8e.zip |
Fix last geoip bugs.
svn:r15106
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |