From: Dmitry Volyntsev Date: Fri, 8 Nov 2019 17:33:46 +0000 (+0300) Subject: Style. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=1d7efe63b6dbd29f8dfeba34c74f5065a9fb0320;p=njs.git Style. --- diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c index 68c49b72..e1ee56c0 100644 --- a/nginx/ngx_http_js_module.c +++ b/nginx/ngx_http_js_module.c @@ -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, diff --git a/src/njs_object_prop.c b/src/njs_object_prop.c index 87bbbbd5..6ed864d3 100644 --- a/src/njs_object_prop.c +++ b/src/njs_object_prop.c @@ -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"); diff --git a/src/njs_value.c b/src/njs_value.c index 8d4756cb..3dd425f1 100644 --- a/src/njs_value.c +++ b/src/njs_value.c @@ -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;