Add sds to reply (takes ownership of sds and frees it) */
| 834 | |
| 835 | /* Add sds to reply (takes ownership of sds and frees it) */ |
| 836 | void addReplyBulkSds(client *c, sds s) { |
| 837 | addReplyLongLongWithPrefix(c,sdslen(s),'$'); |
| 838 | addReplySds(c,s); |
| 839 | addReply(c,shared.crlf); |
| 840 | } |
| 841 | |
| 842 | /* Set sds to a deferred reply (for symmetry with addReplyBulkSds it also frees the sds) */ |
| 843 | void setDeferredReplyBulkSds(client *c, void *node, sds s) { |
no test coverage detected