| 694 | } |
| 695 | |
| 696 | void addReplyBigNum(client *c, const char* num, size_t len) { |
| 697 | if (c->resp == 2) { |
| 698 | addReplyBulkCBuffer(c, num, len); |
| 699 | } else { |
| 700 | addReplyProto(c,"(",1); |
| 701 | addReplyProto(c,num,len); |
| 702 | addReply(c,shared.crlf); |
| 703 | } |
| 704 | } |
| 705 | |
| 706 | /* Add a long double as a bulk reply, but uses a human readable formatting |
| 707 | * of the double instead of exposing the crude behavior of doubles to the |
no test coverage detected