[njs] Fixed console.help() method return value.

Dmitry Volyntsev xeioex at nginx.com
Mon Feb 12 12:52:10 UTC 2018


details:   http://hg.nginx.org/njs/rev/727f8e98cce4
branches:  
changeset: 445:727f8e98cce4
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Mon Feb 12 15:15:53 2018 +0300
description:
Fixed console.help() method return value.

diffstat:

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

diffs (11 lines):

diff -r feb725292e21 -r 727f8e98cce4 njs/njs.c
--- a/njs/njs.c	Mon Feb 12 15:15:52 2018 +0300
+++ b/njs/njs.c	Mon Feb 12 15:15:53 2018 +0300
@@ -659,5 +659,7 @@ njs_ext_console_help(njs_vm_t *vm, njs_v
 
     printf("\n");
 
+    vm->retval = njs_value_void;
+
     return NJS_OK;
 }


More information about the nginx-devel mailing list