commit | eee45391dbd48b35601d70d41611ebf929d029d1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Mar 10 14:22:28 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Mar 10 15:33:55 2015 +0100 |
tree | 74beb28d37bacc96b1d5e98696d685cf4427a9d6 | |
parent | fdda6777bffb4f933569c609ba54e24ea5eabf29 [diff] |
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 fb39dc1..084b7d5 100644 --- a/src/hlua.c +++ b/src/hlua.c
@@ -2578,7 +2578,7 @@ { 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))