mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Tell which geoip file we're parsing
This commit is contained in:
parent
68f8ca357f
commit
7a446e6754
5
changes/bug2432
Normal file
5
changes/bug2432
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor features:
|
||||
- Provide a log message stating which geoip file we're parsing
|
||||
instead of just stating that we're parsing the geoip file.
|
||||
Implements ticket 2432.
|
||||
|
@ -214,7 +214,7 @@ geoip_load_file(const char *filename, or_options_t *options)
|
||||
smartlist_free(geoip_entries);
|
||||
}
|
||||
geoip_entries = smartlist_create();
|
||||
log_notice(LD_GENERAL, "Parsing GEOIP file.");
|
||||
log_notice(LD_GENERAL, "Parsing GEOIP file %s.", filename);
|
||||
while (!feof(f)) {
|
||||
char buf[512];
|
||||
if (fgets(buf, (int)sizeof(buf), f) == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user