Commit 7a446e67 authored by Sebastian Hahn's avatar Sebastian Hahn Committed by Nick Mathewson
Browse files

Tell which geoip file we're parsing

parent 68f8ca35
Loading
Loading
Loading
Loading

changes/bug2432

0 → 100644
+5 −0
Changes for changes/bug2432: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
  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.
+1 −1
Changes for src/or/geoip.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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)