mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-17 00:44:33 +00:00
BUG/MINOR: lua: report the correct function name in an error message
"req_channel" was reported instead of "res_channel". This is harmless.
This commit is contained in:
parent
fdda6777bf
commit
eee45391db
@ -2578,7 +2578,7 @@ __LJMP static int hlua_txn_res_channel(lua_State *L)
|
||||
{
|
||||
struct hlua_txn *s;
|
||||
|
||||
MAY_LJMP(check_args(L, 1, "req_channel"));
|
||||
MAY_LJMP(check_args(L, 1, "res_channel"));
|
||||
s = MAY_LJMP(hlua_checktxn(L, 1));
|
||||
|
||||
if (!hlua_channel_new(L, s->s, s->s->rep))
|
||||
|
Loading…
Reference in New Issue
Block a user