mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
return the correct proto version
HELLO should return the current proto version, while the code hardcoded 3
This commit is contained in:
parent
44b76a75d2
commit
7eba5c308a
@ -2522,7 +2522,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);
|
||||
|
Loading…
Reference in New Issue
Block a user