From caf17102e83dd5574a5f0af7513e67cb357f4702 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 23 Apr 2009 18:22:28 +0000 Subject: pass command lines options to workers --- src/core/nginx.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/nginx.c') 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; -- cgit