| 1839 | } |
| 1840 | |
| 1841 | static void sdsConfigGet(client *c, typeData data) { |
| 1842 | if (*data.sds.config) { |
| 1843 | addReplyBulkSds(c, sdsdup(*data.sds.config)); |
| 1844 | } else { |
| 1845 | addReplyBulkCString(c, ""); |
| 1846 | } |
| 1847 | } |
| 1848 | |
| 1849 | static void sdsConfigRewrite(typeData data, const char *name, struct rewriteConfigState *state) { |
| 1850 | rewriteConfigSdsOption(state, name, *(data.sds.config), data.sds.default_value ? sdsnew(data.sds.default_value) : NULL); |
nothing calls this directly
no test coverage detected