mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
ROLE command: array len fixed for slave output.
This commit is contained in:
parent
fceef8e0dd
commit
7970d53997
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user