diff options
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r-- | nginx/ngx_http_js_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c index 49ef5efe..4b0d7c2c 100644 --- a/nginx/ngx_http_js_module.c +++ b/nginx/ngx_http_js_module.c @@ -2404,7 +2404,7 @@ ngx_http_js_include(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) end = start + size; - ngx_memzero(&options, sizeof(njs_vm_opt_t)); + njs_vm_opt_init(&options); options.backtrace = 1; options.ops = &ngx_http_js_ops; |