提交 7970d539 编写于 作者: A antirez

ROLE command: array len fixed for slave output.

上级 fceef8e0
......@@ -1355,7 +1355,7 @@ void roleCommand(redisClient *c) {
} else {
char *slavestate = NULL;
addReplyMultiBulkLen(c,4);
addReplyMultiBulkLen(c,5);
addReplyBulkCBuffer(c,"slave",5);
addReplyBulkCString(c,server.masterhost);
addReplyLongLong(c,server.masterport);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册