]> git.kaiwu.me - nginx.git/commitdiff
NULL script in default access_log
authorIgor Sysoev <igor@sysoev.ru>
Tue, 1 Jul 2008 06:26:48 +0000 (06:26 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 1 Jul 2008 06:26:48 +0000 (06:26 +0000)
src/http/modules/ngx_http_log_module.c

index f0fd565886b10b3f381eb7cce896d64839c204bf..ce7559753df9ace153c3d3a8dc2fccebb0779681 100644 (file)
@@ -783,6 +783,7 @@ ngx_http_log_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
         return NGX_CONF_ERROR;
     }
 
+    log->script = NULL;
     log->disk_full_time = 0;
     log->error_log_time = 0;