[njs] Style.

Dmitry Volyntsev xeioex at nginx.com
Mon Sep 20 13:10:54 UTC 2021


details:   https://hg.nginx.org/njs/rev/d1a43dc93e9d
branches:  
changeset: 1706:d1a43dc93e9d
user:      Dmitry Volyntsev <xeioex at 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))


More information about the nginx-devel mailing list