mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Add the last break for consistency in moduleCreateCallReplyFromProto.
This commit is contained in:
parent
e453d36e1e
commit
4efe9e19c1
@ -811,7 +811,7 @@ RedisModuleCallReply *moduleCreateCallReplyFromProto(RedisModuleCtx *ctx, sds pr
|
||||
case '-': reply->type = REDISMODULE_REPLY_ERROR; break;
|
||||
case ':': reply->type = REDISMODULE_REPLY_INTEGER; break;
|
||||
case '*': reply->type = REDISMODULE_REPLY_ARRAY; break;
|
||||
default: reply->type = REDISMODULE_REPLY_UNKNOWN;
|
||||
default: reply->type = REDISMODULE_REPLY_UNKNOWN; break;
|
||||
}
|
||||
if ((proto[0] == '*' || proto[0] == '$') && proto[1] == '-')
|
||||
reply->type = REDISMODULE_REPLY_NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user