Add a C null term string as bulk reply */
| 849 | |
| 850 | /* Add a C null term string as bulk reply */ |
| 851 | void addReplyBulkCString(client *c, const char *s) { |
| 852 | if (s == NULL) { |
| 853 | addReplyNull(c); |
| 854 | } else { |
| 855 | addReplyBulkCBuffer(c,s,strlen(s)); |
| 856 | } |
| 857 | } |
| 858 | |
| 859 | /* Add a long long as a bulk reply */ |
| 860 | void addReplyBulkLongLong(client *c, long long ll) { |
no test coverage detected