From 6cbfbea77efc42693ec081de9635a613413730f7 Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Thu, 19 Sep 2013 13:14:22 -0700 Subject: [PATCH] refactor: removed the empty string separator argument from the table.concat() call because it is already the default. thanks alex-yam for the patch in #22. --- lib/resty/redis.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/resty/redis.lua b/lib/resty/redis.lua index f002b02..a9dd038 100644 --- a/lib/resty/redis.lua +++ b/lib/resty/redis.lua @@ -223,7 +223,7 @@ local function _gen_req(args) end -- it is faster to do string concatenation on the Lua land - return concat(req, "") + return concat(req) end @@ -243,7 +243,7 @@ local function _do_cmd(self, ...) return end - -- print("request: ", table.concat(req, "")) + -- print("request: ", table.concat(req)) local bytes, err = sock:send(req) if not bytes then