diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-27 17:26:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 17:26:32 -0400 |
commit | 614eeb378be4ef23d3e8c1e1bef146ef5c1819b0 (patch) | |
tree | afdf2e2ee3c7f9381a40ebe6ace78508628edcb2 /src | |
parent | 7c83b0a2a2b36a2ae2296f826ec53e5f7cd29a97 (diff) | |
parent | c951830002706719fd98f87dabd82437f3f392ac (diff) | |
download | tor-614eeb378be4ef23d3e8c1e1bef146ef5c1819b0.tar.gz tor-614eeb378be4ef23d3e8c1e1bef146ef5c1819b0.zip |
Merge remote branch 'sebastian/bug1964' into maint-0.2.2
Diffstat (limited to 'src')
-rw-r--r-- | src/or/geoip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c index 7f1052e98d..ee8d72ee1d 100644 --- a/src/or/geoip.c +++ b/src/or/geoip.c @@ -254,6 +254,8 @@ geoip_get_country_by_ip(uint32_t ipaddr) int geoip_get_n_countries(void) { + if (!geoip_countries) + init_geoip_countries(); return (int) smartlist_len(geoip_countries); } |