[njs] Style.

Dmitry Volyntsev xeioex at nginx.com
Mon Nov 11 12:37:55 UTC 2019


details:   https://hg.nginx.org/njs/rev/71decc0d345c
branches:  
changeset: 1228:71decc0d345c
user:      Dmitry Volyntsev <xeioex at 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;


More information about the nginx-devel mailing list