details: http://hg.nginx.org/njs/rev/44ca33e6afdb branches: changeset: 375:44ca33e6afdb user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Jun 22 18:56:26 2017 +0300 description: Fixed typo in js_include handler.
diffstat: nginx/ngx_http_js_module.c | 2 +- nginx/ngx_stream_js_module.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diffs (24 lines): diff -r 61feac0beeb3 -r 44ca33e6afdb nginx/ngx_http_js_module.c --- a/nginx/ngx_http_js_module.c Thu Jun 22 18:52:47 2017 +0300 +++ b/nginx/ngx_http_js_module.c Thu Jun 22 18:56:26 2017 +0300 @@ -1303,7 +1303,7 @@ ngx_http_js_include(ngx_conf_t *cf, ngx_ cln = ngx_pool_cleanup_add(cf->pool, 0); if (cln == NULL) { - return NULL; + return NGX_CONF_ERROR; } cln->handler = ngx_http_js_cleanup_mem_cache_pool; diff -r 61feac0beeb3 -r 44ca33e6afdb nginx/ngx_stream_js_module.c --- a/nginx/ngx_stream_js_module.c Thu Jun 22 18:52:47 2017 +0300 +++ b/nginx/ngx_stream_js_module.c Thu Jun 22 18:56:26 2017 +0300 @@ -1013,7 +1013,7 @@ ngx_stream_js_include(ngx_conf_t *cf, ng cln = ngx_pool_cleanup_add(cf->pool, 0); if (cln == NULL) { - return NULL; + return NGX_CONF_ERROR; } cln->handler = ngx_stream_js_cleanup_mem_cache_pool; _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel