diff src/core/nginx.c @ 2745:1983932b8075

pass command lines options to workers
author Igor Sysoev <igor@sysoev.ru>
date Thu, 23 Apr 2009 18:22:28 +0000
parents d8316f307b6a
children a65976a205a5
line wrap: on
line diff
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -540,6 +540,8 @@ ngx_exec_new_binary(ngx_cycle_t *cycle, 
     ngx_core_conf_t   *ccf;
     ngx_listening_t   *ls;
 
+    ngx_memzero(&ctx, sizeof(ngx_exec_ctx_t));
+
     ctx.path = argv[0];
     ctx.name = "new binary process";
     ctx.argv = argv;