comparison src/http/modules/ngx_http_log_module.c @ 905:be52cfdb3e31

fix highly unlikely bug
author Igor Sysoev <igor@sysoev.ru>
date Tue, 12 Dec 2006 15:46:53 +0000
parents 3b763d36e055
children bd4202f92581
comparison
equal deleted inserted replaced
904:3047c580f6eb 905:be52cfdb3e31
544 log->file = ngx_conf_open_file(cf->cycle, &http_access_log); 544 log->file = ngx_conf_open_file(cf->cycle, &http_access_log);
545 if (log->file == NULL) { 545 if (log->file == NULL) {
546 return NGX_CONF_ERROR; 546 return NGX_CONF_ERROR;
547 } 547 }
548 548
549 log->disk_full_time = 0;
550
549 lmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module); 551 lmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module);
550 fmt = lmcf->formats.elts; 552 fmt = lmcf->formats.elts;
551 553
552 /* the default "combined" format */ 554 /* the default "combined" format */
553 log->ops = fmt[0].ops; 555 log->ops = fmt[0].ops;