aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-23 18:22:28 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-23 18:22:28 +0000
commitcaf17102e83dd5574a5f0af7513e67cb357f4702 (patch)
tree47a5f560e29ce839f8db5fbc04c9df12921430ac /src/core/nginx.c
parentbf14b000e6cae87ff2bbd2ab813195fdd2e4b69f (diff)
downloadnginx-caf17102e83dd5574a5f0af7513e67cb357f4702.tar.gz
nginx-caf17102e83dd5574a5f0af7513e67cb357f4702.zip
pass command lines options to workers
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r--src/core/nginx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index 63185bcbf..f08af79de 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -540,6 +540,8 @@ ngx_exec_new_binary(ngx_cycle_t *cycle, char *const *argv)
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;