| 853 | } |
| 854 | |
| 855 | void addReplyBigNum(client *c, const char* num, size_t len) { |
| 856 | if (c->resp == 2) { |
| 857 | addReplyBulkCBuffer(c, num, len); |
| 858 | } else { |
| 859 | addReplyProto(c,"(",1); |
| 860 | addReplyProto(c,num,len); |
| 861 | addReply(c,shared.crlf); |
| 862 | } |
| 863 | } |
| 864 | |
| 865 | /* Add a long double as a bulk reply, but uses a human readable formatting |
| 866 | * of the double instead of exposing the crude behavior of doubles to the |
no test coverage detected