From: Willy Tarreau Date: Tue, 10 Mar 2015 13:22:28 +0000 (+0100) Subject: BUG/MINOR: lua: report the correct function name in an error message X-Git-Tag: v1.6-dev1~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eee45391dbd48b35601d70d41611ebf929d029d1;p=thirdparty%2Fhaproxy.git BUG/MINOR: lua: report the correct function name in an error message "req_channel" was reported instead of "res_channel". This is harmless. --- diff --git a/src/hlua.c b/src/hlua.c index fb39dc11f0..084b7d52af 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))