Welcome! Log In Create A New Profile

Advanced

[njs] Style.

Dmitry Volyntsev
September 20, 2021 09:12AM
details: https://hg.nginx.org/njs/rev/d1a43dc93e9d
branches:
changeset: 1706:d1a43dc93e9d
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Fri Sep 17 18:29:40 2021 +0000
description:
Style.

diffstat:

src/njs_buffer.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 91d9301684db -r d1a43dc93e9d src/njs_buffer.c
--- a/src/njs_buffer.c Fri Sep 03 14:57:50 2021 +0000
+++ b/src/njs_buffer.c Fri Sep 17 18:29:40 2021 +0000
@@ -663,12 +663,12 @@ njs_buffer_compare_array(njs_vm_t *vm, n
njs_int_t ret;
njs_typed_array_t *source, *target;

- source = njs_buffer_slot(vm , val1, "source");
+ source = njs_buffer_slot(vm, val1, "source");
if (njs_slow_path(source == NULL)) {
return NJS_ERROR;
}

- target = njs_buffer_slot(vm , val2, "target");
+ target = njs_buffer_slot(vm, val2, "target");
if (njs_slow_path(target == NULL)) {
return NJS_ERROR;
}
@@ -868,7 +868,7 @@ njs_buffer_is_buffer(njs_vm_t *vm, njs_v

is = 0;

- array = njs_buffer_slot(vm , njs_arg(args, nargs, 1), "source");
+ array = njs_buffer_slot(vm, njs_arg(args, nargs, 1), "source");

if (njs_fast_path(array != NULL && array->object.__proto__
== &vm->prototypes[NJS_OBJ_TYPE_BUFFER].object))
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Style.

Dmitry Volyntsev 182 September 20, 2021 09:12AM



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

Online Users

Guests: 52
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