Welcome! Log In Create A New Profile

Advanced

[njs] Style.

Dmitry Volyntsev
November 11, 2019 07:38AM
details: https://hg.nginx.org/njs/rev/71decc0d345c
branches:
changeset: 1228:71decc0d345c
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Fri Nov 08 20:33:46 2019 +0300
description:
Style.

diffstat:

nginx/ngx_http_js_module.c | 2 +-
src/njs_object_prop.c | 4 ++--
src/njs_value.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r de6c3c68e18e -r 71decc0d345c nginx/ngx_http_js_module.c
--- a/nginx/ngx_http_js_module.c Fri Nov 08 16:29:34 2019 +0300
+++ b/nginx/ngx_http_js_module.c Fri Nov 08 20:33:46 2019 +0300
@@ -329,7 +329,7 @@ static njs_external_t ngx_http_js_ext_r
NULL,
NULL,
NULL,
- offsetof(ngx_http_request_t, headers_out.status) },
+ 0 },

{ njs_str("headersOut"),
NJS_EXTERN_OBJECT,
diff -r de6c3c68e18e -r 71decc0d345c src/njs_object_prop.c
--- a/src/njs_object_prop.c Fri Nov 08 16:29:34 2019 +0300
+++ b/src/njs_object_prop.c Fri Nov 08 20:33:46 2019 +0300
@@ -585,9 +585,9 @@ static const njs_value_t njs_object_val
static const njs_value_t njs_object_get_string = njs_string("get");
static const njs_value_t njs_object_set_string = njs_string("set");
static const njs_value_t njs_object_writable_string =
- njs_string("writable");
+ njs_string("writable");
static const njs_value_t njs_object_enumerable_string =
- njs_string("enumerable");
+ njs_string("enumerable");
static const njs_value_t njs_object_configurable_string =
njs_string("configurable");

diff -r de6c3c68e18e -r 71decc0d345c src/njs_value.c
--- a/src/njs_value.c Fri Nov 08 16:29:34 2019 +0300
+++ b/src/njs_value.c Fri Nov 08 20:33:46 2019 +0300
@@ -120,7 +120,7 @@ njs_value_release(njs_vm_t *vm, njs_valu

njs_int_t
njs_value_to_primitive(njs_vm_t *vm, njs_value_t *dst, njs_value_t *value,
- njs_uint_t hint)
+ njs_uint_t hint)
{
njs_int_t ret;
njs_uint_t tries;
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Style.

Dmitry Volyntsev 74 November 11, 2019 07:38AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 141
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready