diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2019-02-12 18:37:59 +0300 |
---|---|---|
committer | Dmitry Volyntsev <xeioex@nginx.com> | 2019-02-12 18:37:59 +0300 |
commit | b04d56e0151194e1f31e94531b2f4943960f3711 (patch) | |
tree | 2cdf12003d42430a82228f998b2bea0f1fceb8cb /nginx/ngx_http_js_module.c | |
parent | 113c228339fe7bc009edfb40a42b5fe1e078427f (diff) | |
download | njs-b04d56e0151194e1f31e94531b2f4943960f3711.tar.gz njs-b04d56e0151194e1f31e94531b2f4943960f3711.zip |
Replacing vsprintf with nxt_vsprintf in modules' exceptions API.
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r-- | nginx/ngx_http_js_module.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c index 800a9893..7d43d50f 100644 --- a/nginx/ngx_http_js_module.c +++ b/nginx/ngx_http_js_module.c @@ -1751,8 +1751,7 @@ ngx_http_js_ext_subrequest(njs_vm_t *vm, njs_value_t *args, nxt_uint_t nargs, } if (method == n) { - njs_vm_error(vm, "unknown method \"%.*s\"", - (int) method_name.length, method_name.start); + njs_vm_error(vm, "unknown method \"%V\"", &method_name); return NJS_ERROR; } } |