Welcome! Log In Create A New Profile

Advanced

[njs] Fixed typo introduced in 904333a40816.

Alexander Borisov
December 03, 2019 10:00AM
details: https://hg.nginx.org/njs/rev/6e84ff419b88
branches:
changeset: 1276:6e84ff419b88
user: Alexander Borisov <alexander.borisov@nginx.com>
date: Tue Dec 03 17:58:30 2019 +0300
description:
Fixed typo introduced in 904333a40816.

diffstat:

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

diffs (30 lines):

diff -r 904333a40816 -r 6e84ff419b88 src/njs_value.c
--- a/src/njs_value.c Tue Dec 03 17:13:34 2019 +0300
+++ b/src/njs_value.c Tue Dec 03 17:58:30 2019 +0300
@@ -1279,7 +1279,7 @@ njs_value_species_constructor(njs_vm_t *
}

if (njs_is_undefined(&constructor)) {
- goto default_сonstructor;
+ goto default_constructor;
}

if (njs_slow_path(!njs_is_object(&constructor))) {
@@ -1294,7 +1294,7 @@ njs_value_species_constructor(njs_vm_t *
}

if (njs_value_is_null_or_undefined(&retval)) {
- goto default_сonstructor;
+ goto default_constructor;
}

if (!njs_is_function(&retval)) {
@@ -1306,7 +1306,7 @@ njs_value_species_constructor(njs_vm_t *

return NJS_OK;

-default_сonstructor:
+default_constructor:

*dst = *default_constructor;

_______________________________________________
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 904333a40816.

Alexander Borisov 74 December 03, 2019 10:00AM



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

Online Users

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