mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Merge pull request #7363 from xhebox/unstable
return the correct proto version
This commit is contained in:
@@ -2527,7 +2527,7 @@ void helloCommand(client *c) {
|
||||
addReplyBulkCString(c,REDIS_VERSION);
|
||||
|
||||
addReplyBulkCString(c,"proto");
|
||||
addReplyLongLong(c,3);
|
||||
addReplyLongLong(c,ver);
|
||||
|
||||
addReplyBulkCString(c,"id");
|
||||
addReplyLongLong(c,c->id);
|
||||
|
||||
Reference in New Issue
Block a user