Add sds to reply (takes ownership of sds and frees it) */
| 994 | |
| 995 | /* Add sds to reply (takes ownership of sds and frees it) */ |
| 996 | void addReplyBulkSds(client *c, sds s) { |
| 997 | addReplyLongLongWithPrefix(c,sdslen(s),'$'); |
| 998 | addReplySds(c,s); |
| 999 | addReply(c,shared.crlf); |
| 1000 | } |
| 1001 | |
| 1002 | /* Set sds to a deferred reply (for symmetry with addReplyBulkSds it also frees the sds) */ |
| 1003 | void setDeferredReplyBulkSds(client *c, void *node, sds s) { |
no test coverage detected