Mercurial > hg > nginx
comparison src/core/ngx_conf_file.c @ 185:d5f50cefc322
nginx-0.0.1-2003-11-14-19:52:04 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 14 Nov 2003 16:52:04 +0000 |
parents | 4db54fdbcbe7 |
children | c1f3a3c7c5db |
comparison
equal
deleted
inserted
replaced
184:1bf718ce0dde | 185:d5f50cefc322 |
---|---|
308 | 308 |
309 for ( ;; ) { | 309 for ( ;; ) { |
310 | 310 |
311 if (h->pos >= h->last) { | 311 if (h->pos >= h->last) { |
312 if (cf->conf_file->file.offset | 312 if (cf->conf_file->file.offset |
313 >= ngx_file_size(cf->conf_file->file.info)) { | 313 >= ngx_file_size((&cf->conf_file->file.info))) { |
314 return NGX_CONF_FILE_DONE; | 314 return NGX_CONF_FILE_DONE; |
315 } | 315 } |
316 | 316 |
317 if (h->pos - start) { | 317 if (h->pos - start) { |
318 ngx_memcpy(h->start, start, h->pos - start); | 318 ngx_memcpy(h->start, start, h->pos - start); |