summaryrefslogtreecommitdiff
path: root/src/or/geoip.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-04-16 00:12:44 +0000
committerRoger Dingledine <arma@torproject.org>2008-04-16 00:12:44 +0000
commit5e299b5e013ef9608810d4cc6e4ff63d8928f5f4 (patch)
treecfd7888a1bd61b2b1e1c1df98ca3e1d0b2da2d26 /src/or/geoip.c
parent2b4ff1718f846b438229ea8419b3b5e8b0b192a5 (diff)
downloadtor-5e299b5e013ef9608810d4cc6e4ff63d8928f5f4.tar.gz
tor-5e299b5e013ef9608810d4cc6e4ff63d8928f5f4.zip
minor fixes that have been accumulating
svn:r14378
Diffstat (limited to 'src/or/geoip.c')
-rw-r--r--src/or/geoip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c
index f81c18c85f..97ea9d7eb4 100644
--- a/src/or/geoip.c
+++ b/src/or/geoip.c
@@ -65,7 +65,7 @@ geoip_add_entry(uint32_t low, uint32_t high, const char *country)
}
/** Add an entry to the GeoIP table, parsing it from <b>line</b>. The
- * format is as for geoip_load_file. */
+ * format is as for geoip_load_file(). */
/*private*/ int
geoip_parse_entry(const char *line)
{
@@ -283,7 +283,7 @@ geoip_remove_old_clients(time_t cutoff)
/** Do not report any geoip data at all if we have fewer than this number of
* IPs to report about. */
#define MIN_IPS_TO_NOTE_ANYTHING 16
-/** When reporting geoip data about countries, round down to the nearest
+/** When reporting geoip data about countries, round up to the nearest
* multiple of this value. */
#define IP_GRANULARITY 8