Commit 4efe9e19 authored by antirez's avatar antirez
Browse files

Add the last break for consistency in moduleCreateCallReplyFromProto.

parent e453d36e
...@@ -811,7 +811,7 @@ RedisModuleCallReply *moduleCreateCallReplyFromProto(RedisModuleCtx *ctx, sds pr ...@@ -811,7 +811,7 @@ RedisModuleCallReply *moduleCreateCallReplyFromProto(RedisModuleCtx *ctx, sds pr
case '-': reply->type = REDISMODULE_REPLY_ERROR; break; case '-': reply->type = REDISMODULE_REPLY_ERROR; break;
case ':': reply->type = REDISMODULE_REPLY_INTEGER; break; case ':': reply->type = REDISMODULE_REPLY_INTEGER; break;
case '*': reply->type = REDISMODULE_REPLY_ARRAY; 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] == '-') if ((proto[0] == '*' || proto[0] == '$') && proto[1] == '-')
reply->type = REDISMODULE_REPLY_NULL; reply->type = REDISMODULE_REPLY_NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment