diff src/http/modules/ngx_http_log_module.c @ 2080:a24c7009de0b

NULL script in default access_log
author Igor Sysoev <igor@sysoev.ru>
date Tue, 01 Jul 2008 06:26:48 +0000
parents 9acbc5e7bcbd
children c8039b26a949
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;