changeset 2080:a24c7009de0b

NULL script in default access_log
author Igor Sysoev <igor@sysoev.ru>
date Tue, 01 Jul 2008 06:26:48 +0000
parents 333ef9e18a59
children 8488178092f2
files src/http/modules/ngx_http_log_module.c
diffstat 1 files changed, 1 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
@@ -783,6 +783,7 @@ ngx_http_log_merge_loc_conf(ngx_conf_t *
         return NGX_CONF_ERROR;
     }
 
+    log->script = NULL;
     log->disk_full_time = 0;
     log->error_log_time = 0;