aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_conf_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_conf_file.c')
-rw-r--r--src/core/ngx_conf_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index 5c83afc81..6fd4f8698 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -310,7 +310,7 @@ ngx_log_debug(cf->log, "TOKEN START");
if (h->pos >= h->last) {
if (cf->conf_file->file.offset
- >= ngx_file_size(cf->conf_file->file.info)) {
+ >= ngx_file_size((&cf->conf_file->file.info))) {
return NGX_CONF_FILE_DONE;
}