From eee45391dbd48b35601d70d41611ebf929d029d1 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 10 Mar 2015 14:22:28 +0100 Subject: [PATCH] BUG/MINOR: lua: report the correct function name in an error message "req_channel" was reported instead of "res_channel". This is harmless. --- src/hlua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hlua.c b/src/hlua.c index fb39dc11f..084b7d52a 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -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))