[njs] Fixed building by SunC 5.15.

Sergey Kandaurov pluknet at nginx.com
Mon Nov 12 17:21:31 UTC 2018


details:   http://hg.nginx.org/njs/rev/81d029f4139c
branches:  
changeset: 649:81d029f4139c
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Mon Nov 12 20:08:36 2018 +0300
description:
Fixed building by SunC 5.15.

diffstat:

 njs/njs_shell.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 46364c618468 -r 81d029f4139c njs/njs_shell.c
--- a/njs/njs_shell.c	Mon Nov 12 18:27:05 2018 +0300
+++ b/njs/njs_shell.c	Mon Nov 12 20:08:36 2018 +0300
@@ -227,7 +227,7 @@ njs_externals_init(njs_vm_t *vm)
     njs_value_t         *value;
     const njs_extern_t  *proto;
 
-    static const nxt_str_t name = nxt_string_value("console");
+    static const nxt_str_t name = nxt_string("console");
 
     proto = njs_vm_external_prototype(vm, &njs_externals[0]);
     if (proto == NULL) {


More information about the nginx-devel mailing list