Skip to content

Commit 38dfb17

Browse files
committed
tests: fixed a bug in the example ngx_fake_delayed module. thanks Dejiang Zhu. also removed the copyright notice in this module since it is already granted.
1 parent 0a83639 commit 38dfb17

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

t/data/fake-delayed-load-module/ngx_http_lua_fake_delayed_load_module.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/* Copyright (C) Jim Tan
2-
*
1+
/*
32
* This fake_delayed_load delayed load module was used to reproduce
43
* a bug in ngx_lua's function ngx_http_lua_add_package_preload.
54
*/
@@ -74,5 +73,5 @@ ngx_http_lua_fake_delayed_load_preload(lua_State *L)
7473
static int
7574
ngx_http_lua_fake_delayed_load_function(lua_State * L)
7675
{
77-
return 1;
76+
return 0;
7877
}

0 commit comments

Comments
 (0)