mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Forward port 14_fix_geoip_warning.dpatch
svn:r17016
This commit is contained in:
parent
dde2dbde1e
commit
ce5d2bc5fb
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -1,6 +1,7 @@
|
|||||||
tor (0.2.1.6-alpha-1) experimental; urgency=low
|
tor (0.2.1.6-alpha-1) experimental; urgency=low
|
||||||
|
|
||||||
* New alpha release.
|
* New alpha release.
|
||||||
|
* Forward port 14_fix_geoip_warning.dpatch.
|
||||||
|
|
||||||
-- Peter Palfrader <weasel@debian.org> Tue, 30 Sep 2008 14:37:26 +0200
|
-- Peter Palfrader <weasel@debian.org> Tue, 30 Sep 2008 14:37:26 +0200
|
||||||
|
|
||||||
|
11
debian/patches/14_fix_geoip_warning.dpatch
vendored
11
debian/patches/14_fix_geoip_warning.dpatch
vendored
@ -26,12 +26,13 @@ exit 0
|
|||||||
diff -urNad git-stable~/src/or/geoip.c git-stable/src/or/geoip.c
|
diff -urNad git-stable~/src/or/geoip.c git-stable/src/or/geoip.c
|
||||||
--- git-stable~/src/or/geoip.c 2008-06-06 01:00:41.000000000 +0200
|
--- git-stable~/src/or/geoip.c 2008-06-06 01:00:41.000000000 +0200
|
||||||
+++ git-stable/src/or/geoip.c 2008-06-11 12:54:17.605150644 +0200
|
+++ git-stable/src/or/geoip.c 2008-06-11 12:54:17.605150644 +0200
|
||||||
@@ -147,7 +147,7 @@
|
@@ -182,7 +182,8 @@
|
||||||
int severity = should_record_bridge_info(options) ? LOG_WARN : LOG_INFO;
|
int severity = options_need_geoip_info(options, &msg) ? LOG_WARN : LOG_INFO;
|
||||||
clear_geoip_db();
|
clear_geoip_db();
|
||||||
if (!(f = fopen(filename, "r"))) {
|
if (!(f = fopen(filename, "r"))) {
|
||||||
- log_fn(severity, LD_GENERAL, "Failed to open GEOIP file %s.", filename);
|
- log_fn(severity, LD_GENERAL, "Failed to open GEOIP file %s. %s",
|
||||||
+ log_fn(severity, LD_GENERAL, "Failed to open GEOIP file %s. Do you have the tor-geoipdb package installed?", filename);
|
+ log_fn(severity, LD_GENERAL, "Failed to open GEOIP file %s. %s"
|
||||||
|
+ " Do you have the tor-geoipdb package installed?",
|
||||||
|
filename, msg);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
geoip_countries = smartlist_create();
|
|
||||||
|
Loading…
Reference in New Issue
Block a user