Commit 7970d539 authored by antirez's avatar antirez
Browse files

ROLE command: array len fixed for slave output.

parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment