mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-04 07:13:30 +02:00
CLEANUP: hlua: hlua_register_task() may longjmp
Adding __LJMP prefix to hlua_register_task() to indicate that the function may longjmp when executed.
This commit is contained in:
committed by
Christopher Faulet
parent
977688bd57
commit
e0b16355ce
@@ -8863,7 +8863,7 @@ __LJMP static int hlua_register_init(lua_State *L)
|
|||||||
*
|
*
|
||||||
* <arg1..4> are optional arguments that will be provided to <function>
|
* <arg1..4> are optional arguments that will be provided to <function>
|
||||||
*/
|
*/
|
||||||
static int hlua_register_task(lua_State *L)
|
__LJMP static int hlua_register_task(lua_State *L)
|
||||||
{
|
{
|
||||||
struct hlua *hlua = NULL;
|
struct hlua *hlua = NULL;
|
||||||
struct task *task = NULL;
|
struct task *task = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user