[njs] Fixed typo introduced in 904333a40816.

Alexander Borisov alexander.borisov at nginx.com
Tue Dec 3 14:59:17 UTC 2019


details:   https://hg.nginx.org/njs/rev/6e84ff419b88
branches:  
changeset: 1276:6e84ff419b88
user:      Alexander Borisov <alexander.borisov at 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;
 


More information about the nginx-devel mailing list