RESP3: Use verbatim in INFO output.

This commit is contained in:
antirez 2019-09-18 18:33:01 +02:00
parent 68519b7034
commit aca5482fbf

View File

@ -4391,7 +4391,9 @@ void infoCommand(client *c) {
addReply(c,shared.syntaxerr);
return;
}
addReplyBulkSds(c, genRedisInfoString(section));
sds info = genRedisInfoString(section);
addReplyVerbatim(c,info,sdslen(info),"txt");
sdsfree(info);
}
void monitorCommand(client *c) {