aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_http_js_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-01-27 16:01:31 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-01-27 16:01:31 +0300
commita30cb8b65b8470b4fcd06abfb030f73ecc4e36c6 (patch)
tree9123f9bec555e25edbf9277ff1455425a2d4d21e /nginx/ngx_http_js_module.c
parent5df2d2573b089c4cf2c8297d4646050e412a6800 (diff)
downloadnjs-a30cb8b65b8470b4fcd06abfb030f73ecc4e36c6.tar.gz
njs-a30cb8b65b8470b4fcd06abfb030f73ecc4e36c6.zip
Removed obsolete function call interface.
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r--nginx/ngx_http_js_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c
index 6cf04823..104ca71f 100644
--- a/nginx/ngx_http_js_module.c
+++ b/nginx/ngx_http_js_module.c
@@ -1322,7 +1322,7 @@ ngx_http_js_include(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
return NGX_CONF_ERROR;
}
- rc = njs_vm_compile(jlcf->vm, &start, end, NULL, &export);
+ rc = njs_vm_compile(jlcf->vm, &start, end, &export);
if (rc != NJS_OK) {
njs_vm_exception(jlcf->vm, &text);