Welcome! Log In Create A New Profile

Advanced

[njs] Fixed typo introduced in 61bf7a31e685.

Alexander Borisov
January 09, 2020 07:22AM
details: https://hg.nginx.org/njs/rev/5cd098c6c4de
branches:
changeset: 1294:5cd098c6c4de
user: Alexander Borisov <alexander.borisov@nginx.com>
date: Thu Jan 09 15:21:08 2020 +0300
description:
Fixed typo introduced in 61bf7a31e685.

Found by Coverity (CIDs 1457370, 1457369).

diffstat:

src/njs_promise.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 74d2b2074ec0 -r 5cd098c6c4de src/njs_promise.c
--- a/src/njs_promise.c Fri Dec 27 19:17:26 2019 +0300
+++ b/src/njs_promise.c Thu Jan 09 15:21:08 2020 +0300
@@ -836,7 +836,7 @@ njs_promise_perform_then(njs_vm_t *vm, n

rejected_reaction = njs_mp_alloc(vm->mem_pool,
sizeof(njs_promise_reaction_t));
- if (njs_slow_path(fulfilled_reaction == NULL)) {
+ if (njs_slow_path(rejected_reaction == NULL)) {
njs_memory_error(vm);
return NJS_ERROR;
}
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed typo introduced in 61bf7a31e685.

Alexander Borisov 76 January 09, 2020 07:22AM



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

Online Users

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