Skip to content

Commit 833f8fd

Browse files
committed
Restore return value that got lost in rebasing
1 parent 02bfdd5 commit 833f8fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/ngx/re.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,10 @@ function _M.opt(option, value)
245245

246246
local rc = C.ngx_http_lua_ffi_set_jit_stack_size(value, errbuf, sizep)
247247

248-
if rc ~= FFI_OK then
248+
if rc == FFI_OK then
249+
return
250+
251+
else
249252
return error(ffi_str(errbuf, sizep[0]))
250253
end
251254
end

0 commit comments

Comments
 (0)