diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2020-04-12 10:01:40 +0000 |
---|---|---|
committer | Dmitry Volyntsev <xeioex@nginx.com> | 2020-04-12 10:01:40 +0000 |
commit | b3d8d4157093a0c95a8a9b27d66f4f8b900bab0b (patch) | |
tree | ae17d201fc8585bf63d2debf57162c38c5cab110 /nginx/ngx_http_js_module.c | |
parent | 10cc690613e2bfc7c09048bce9f15c7548e759a4 (diff) | |
download | njs-b3d8d4157093a0c95a8a9b27d66f4f8b900bab0b.tar.gz njs-b3d8d4157093a0c95a8a9b27d66f4f8b900bab0b.zip |
Introduced njs_vm_opt_init().
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; |