From 30a3644e643ed60bedd839b2a3f9ec59ff25c00b Mon Sep 17 00:00:00 2001 From: WuYunlong Date: Fri, 20 Sep 2019 08:37:23 +0800 Subject: [PATCH] RESP3: Fix function redisProtocolToLuaType about RESP3->Lua bools. --- src/scripting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting.c b/src/scripting.c index 2153233f5..fa896de21 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -139,7 +139,7 @@ char *redisProtocolToLuaType(lua_State *lua, char* reply) { case '%': p = redisProtocolToLuaType_Aggregate(lua,reply,*p); break; case '~': p = redisProtocolToLuaType_Aggregate(lua,reply,*p); break; case '_': p = redisProtocolToLuaType_Null(lua,reply); break; - case '#': p = redisProtocolToLuaType_Bool(lua,reply,p[1]); + case '#': p = redisProtocolToLuaType_Bool(lua,reply,p[1]); break; case ',': p = redisProtocolToLuaType_Double(lua,reply); } return p;