From de73bc7413cb8bd497710f818083d852c88060a1 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Tue, 17 Dec 2019 18:22:50 +0300 Subject: [PATCH] Shell: fixed output of large values for last evaluated expression. --- src/njs_shell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/njs_shell.c b/src/njs_shell.c index f509ce3d..b68e058c 100644 --- a/src/njs_shell.c +++ b/src/njs_shell.c @@ -750,7 +750,8 @@ njs_output(njs_opts_t *opts, njs_vm_t *vm, njs_int_t ret) } if (vm->options.accumulative) { - njs_printf("%V\n", &out); + njs_print(out.start, out.length); + njs_print("\n", 1); } } else { -- 2.47.3