From: Dmitry Volyntsev Date: Fri, 2 Sep 2022 01:12:27 +0000 (-0700) Subject: Fixed typo introduced in a37e4df8f082. X-Git-Tag: 0.7.8~36 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=1195155088da6f4e9f1014ebbfc37cc6b682fc1a;p=njs.git Fixed typo introduced in a37e4df8f082. --- diff --git a/src/njs_vmcode.c b/src/njs_vmcode.c index ce071db1..3427570b 100644 --- a/src/njs_vmcode.c +++ b/src/njs_vmcode.c @@ -742,7 +742,7 @@ next: 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; }