Mercurial > njs
changeset 1946:506ba9a639b8
Fixed typo introduced in a37e4df8f082.
| author | Dmitry Volyntsev <xeioex@nginx.com> |
|---|---|
| date | Thu, 01 Sep 2022 18:12:27 -0700 |
| parents | a37e4df8f082 |
| children | c597cd200724 |
| files | src/njs_vmcode.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/njs_vmcode.c Thu Sep 01 17:49:06 2022 -0700 +++ b/src/njs_vmcode.c Thu Sep 01 18:12:27 2022 -0700 @@ -742,7 +742,7 @@ fcopy = (njs_vmcode_function_copy_t *) pc; ret = njs_vmcode_function_copy(vm, fcopy->function, fcopy->retval); - if (njs_slow_path(ret != NJS_OK)) { + if (njs_slow_path(ret == NJS_ERROR)) { goto error; }
