mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Apply patch from Kali package reputed to address #237
This commit is contained in:
parent
3c566485e3
commit
9bcc6c09e2
1 changed files with 2 additions and 2 deletions
4
lpeg.c
4
lpeg.c
|
|
@ -3340,8 +3340,8 @@ static struct luaL_Reg metareg[] = {
|
|||
};
|
||||
|
||||
|
||||
int luaopen_lpeg (lua_State *L);
|
||||
int luaopen_lpeg (lua_State *L) {
|
||||
LUALIB_API int luaopen_lpeg (lua_State *L);
|
||||
LUALIB_API int luaopen_lpeg (lua_State *L) {
|
||||
luaL_newmetatable(L, PATTERN_T);
|
||||
lua_pushnumber(L, MAXBACK); /* initialize maximum backtracking */
|
||||
lua_setfield(L, LUA_REGISTRYINDEX, MAXSTACKIDX);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue