diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-06-05 12:00:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-06-05 12:00:08 -0400 |
commit | 1a540b579248c04eba79c3e18d022054b238f6f5 (patch) | |
tree | fd11fdacfb7ea7e0d4b3a3315a62d9165aa9787c /src/or | |
parent | 68d6720452fda2ffbc1a484672aa6d09c99f1d41 (diff) | |
parent | e3ebae48040b9ed3946e65dbc6a24e8f5e48ff6b (diff) | |
download | tor-1a540b579248c04eba79c3e18d022054b238f6f5.tar.gz tor-1a540b579248c04eba79c3e18d022054b238f6f5.zip |
Merge branch 'maint-0.2.4' into maint-0.2.5
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/geoip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c index f722bac468..dbbeca030b 100644 --- a/src/or/geoip.c +++ b/src/or/geoip.c @@ -145,6 +145,7 @@ geoip_parse_entry(const char *line, sa_family_t family) if (*line == '#') return 0; + char buf[512]; if (family == AF_INET) { unsigned int low, high; if (tor_sscanf(line,"%u,%u,%2s", &low, &high, c) == 3 || @@ -155,7 +156,6 @@ geoip_parse_entry(const char *line, sa_family_t family) goto fail; country = c; } else { /* AF_INET6 */ - char buf[512]; char *low_str, *high_str; struct in6_addr low, high; char *strtok_state; |