Welcome! Log In Create A New Profile

Advanced

[njs] Fixed code size mismatch error message.

Dmitry Volyntsev
September 27, 2018 10:38AM
details: http://hg.nginx.org/njs/rev/5175716b5e80
branches:
changeset: 613:5175716b5e80
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Thu Sep 27 17:36:38 2018 +0300
description:
Fixed code size mismatch error message.

diffstat:

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

diffs (12 lines):

diff -r 68a3580688ab -r 5175716b5e80 njs/njs_generator.c
--- a/njs/njs_generator.c Wed Sep 19 19:36:00 2018 +0300
+++ b/njs/njs_generator.c Thu Sep 27 17:36:38 2018 +0300
@@ -2066,7 +2066,7 @@ njs_generate_scope(njs_vm_t *vm, njs_par
parser->code_size, code_size);

if (nxt_slow_path(parser->code_size < code_size)) {
- njs_internal_error(vm, "code size mismatch actual %uz < expected %uz",
+ njs_internal_error(vm, "code size mismatch expected %uz < actual %uz",
parser->code_size, code_size);
return NXT_ERROR;
}
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed code size mismatch error message.

Dmitry Volyntsev 150 September 27, 2018 10:38AM



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

Online Users

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