Aurelien DARRAGON 1780d58964 CLEANUP: hlua: use hlua_pusherror() where relevant
In hlua_map_new(), when error occurs we use a combination of luaL_where,
lua_pushfstring and lua_concat to build the error string before calling
lua_error().

It turns out that we already have the hlua_pusherror() macro which is
exactly made for that purpose so let's use it.

It could be backported to all stable versions to ease code maintenance.

(cherry picked from commit 6e484996c6e3e5d7fc35fef77333b4f64d514fcb)
Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>
2024-06-06 14:14:37 +02:00
..
2024-04-02 07:27:33 +02:00
2024-04-02 07:27:33 +02:00
2024-04-26 11:29:25 +02:00
2024-05-16 10:58:54 +02:00
2024-05-22 12:00:11 +02:00
2024-05-22 12:00:11 +02:00
2024-05-22 12:00:11 +02:00
2022-10-03 16:25:17 +02:00