Ticket #4374: improve-geoip-warning.patch

File improve-geoip-warning.patch, 437 bytes (added by cypherpunks, 10 months ago)
  • src/lib/geoip/geoip.c

    a b  
    301301  tor_assert(family == AF_INET || family == AF_INET6);
    302302
    303303  if (!(f = tor_fopen_cloexec(filename, "r"))) {
    304     log_fn(severity, LD_GENERAL, "Failed to open GEOIP file %s.  %s",
     304    log_fn(severity, LD_GENERAL, "Failed to open GEOIP file %s.  %s"
     305           " Do you have the tor-geoipdb package installed?",
    305306           filename, msg);
    306307    return -1;
    307308  }