mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Merge pull request #6196 from AngusP/resp3
[RESP3, Minor] in networking.c double representation for -infiinity leaves out comma
This commit is contained in:
commit
3f1c84751a
@ -507,7 +507,7 @@ void addReplyDouble(client *c, double d) {
|
||||
if (c->resp == 2) {
|
||||
addReplyBulkCString(c, d > 0 ? "inf" : "-inf");
|
||||
} else {
|
||||
addReplyProto(c, d > 0 ? ",inf\r\n" : "-inf\r\n",
|
||||
addReplyProto(c, d > 0 ? ",inf\r\n" : ",-inf\r\n",
|
||||
d > 0 ? 6 : 7);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user