]> git.kaiwu.me - njs.git/commitdiff
Style.
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 8 Nov 2019 17:33:46 +0000 (20:33 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 8 Nov 2019 17:33:46 +0000 (20:33 +0300)
nginx/ngx_http_js_module.c
src/njs_object_prop.c
src/njs_value.c

index 68c49b72817fd5e8121919fd5529544c0744dff5..e1ee56c088549f28eb0f96222887c26ef3956336 100644 (file)
@@ -329,7 +329,7 @@ static njs_external_t  ngx_http_js_ext_request[] = {
       NULL,
       NULL,
       NULL,
-      offsetof(ngx_http_request_t, headers_out.status) },
+      0 },
 
     { njs_str("headersOut"),
       NJS_EXTERN_OBJECT,
index 87bbbbd5cbd09d406f6151785c1673b6693886bc..6ed864d3a5f394926ce95beb9a85a0aeb37363cd 100644 (file)
@@ -585,9 +585,9 @@ static const njs_value_t  njs_object_value_string = njs_string("value");
 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");
 
index 8d4756cbf66c91ceedd0e670509cb16481e02eb4..3dd425f1cb41541b99399ccb8c47e3d2f5e7fa8e 100644 (file)
@@ -120,7 +120,7 @@ njs_value_release(njs_vm_t *vm, njs_value_t *value)
 
 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;