MINOR: hlua/event_hdl: fix return type for hlua_event_hdl_cb_data_push_args
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 27 Mar 2023 16:16:21 +0000 (18:16 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Apr 2023 12:36:45 +0000 (14:36 +0200)
commit2f6a07dce8d4f86a626e66424c8e58dc85ae9fe4
treed7677cf7eed5974ea3c051908659f1d1c6da30b2
parent55f84c7cabca6c5a26100204fcd81b454c737ed1
MINOR: hlua/event_hdl: fix return type for hlua_event_hdl_cb_data_push_args

Changing hlua_event_hdl_cb_data_push_args() return type to void since it
does not return anything useful.
Also changing its name to hlua_event_hdl_cb_push_args() since it does more
than just pushing cb data argument (it also handles event type and mgmt).

Errors catched by the function are reported as lua errors.
src/hlua.c