Bladeren bron

document the handle-comments-in-geoip file

svn:r14785
Roger Dingledine 17 jaren geleden
bovenliggende
commit
277dce9ecf
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. 3 0
      src/or/geoip.c

+ 3 - 0
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)