diff options
author | Roger Dingledine <arma@torproject.org> | 2008-05-28 21:10:46 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-05-28 21:10:46 +0000 |
commit | 277dce9ecfc4ca05c48f699652e284a629e1c94b (patch) | |
tree | 2daee96095b27c1b3f0560f7fb4a0660c888f7da /src/or/geoip.c | |
parent | 6985ad96036f7342f41e28384fca7d11fd4b7084 (diff) | |
download | tor-277dce9ecfc4ca05c48f699652e284a629e1c94b.tar.gz tor-277dce9ecfc4ca05c48f699652e284a629e1c94b.zip |
document the handle-comments-in-geoip file
svn:r14785
Diffstat (limited to 'src/or/geoip.c')
-rw-r--r-- | src/or/geoip.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c index 66814f5cae..9cd56b1d35 100644 --- a/src/or/geoip.c +++ b/src/or/geoip.c @@ -131,6 +131,9 @@ _geoip_compare_key_to_entry(const void *_key, const void **_member) * "INTIPLOW","INTIPHIGH","CC","CC3","COUNTRY NAME" * where INTIPLOW and INTIPHIGH are IPv4 addresses encoded as 4-byte unsigned * integers, and CC is a country code. + * + * It also recognizes, and skips over, blank lines and lines that start + * with '#' (comments). */ int geoip_load_file(const char *filename) |