summaryrefslogtreecommitdiff
path: root/geoip.c
diff options
context:
space:
mode:
Diffstat (limited to 'geoip.c')
-rw-r--r--geoip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/geoip.c b/geoip.c
index 439c052..aa435b0 100644
--- a/geoip.c
+++ b/geoip.c
@@ -198,8 +198,6 @@ again:
return -EIO;
}
- raw[sizeof(raw) - 1] = 0;
-
for (i = 0; i < ret; i++) {
if (!strncmp(raw + i, "Content-Length: ", min_t(size_t, ret - i, lenl))) {
ptr = raw + i + lenl;