summaryrefslogtreecommitdiffhomepage
path: root/src/stream/ngx_stream_geo_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/ngx_stream_geo_module.c')
-rw-r--r--src/stream/ngx_stream_geo_module.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/stream/ngx_stream_geo_module.c b/src/stream/ngx_stream_geo_module.c
index 2324bef0d..910915c20 100644
--- a/src/stream/ngx_stream_geo_module.c
+++ b/src/stream/ngx_stream_geo_module.c
@@ -1412,13 +1412,6 @@ ngx_stream_geo_include_binary_base(ngx_conf_t *cf,
goto failed;
}
- if ((size_t) n != size) {
- ngx_conf_log_error(NGX_LOG_CRIT, cf, 0,
- ngx_read_file_n " \"%s\" returned only %z bytes instead of %z",
- name->data, n, size);
- goto failed;
- }
-
header = (ngx_stream_geo_header_t *) base;
if (size < 16 || ngx_memcmp(&ngx_stream_geo_header, header, 12) != 0) {