mirror of https://github.com/OISF/suricata
util/lua: change arg name to reflect correctness
lua fns do not care about the argument count, they work with the index of the item in the stack. Before library, there was just one item on the stack so it worked out, however, with the library, the first item in the stack is the library userdata, so, the fn would fail with the existing hard coded setting of 1 for argc which can easily be confused with the number of arguments passed to the fn.pull/12891/head
parent
455aef7a22
commit
04c9e16348
Loading…
Reference in New Issue