changeset 905:be52cfdb3e31

fix highly unlikely bug
author Igor Sysoev <igor@sysoev.ru>
date Tue, 12 Dec 2006 15:46:53 +0000
parents 3047c580f6eb
children a0310ac2814f
files src/http/modules/ngx_http_log_module.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_log_module.c
+++ b/src/http/modules/ngx_http_log_module.c
@@ -546,6 +546,8 @@ ngx_http_log_merge_loc_conf(ngx_conf_t *
                 return NGX_CONF_ERROR;
             }
 
+            log->disk_full_time = 0;
+
             lmcf = ngx_http_conf_get_module_main_conf(cf, ngx_http_log_module);
             fmt = lmcf->formats.elts;