See addReplyErrorLength for expectations from the input string. */ As a side effect the SDS string is freed. */
| 621 | /* See addReplyErrorLength for expectations from the input string. */ |
| 622 | /* As a side effect the SDS string is freed. */ |
| 623 | void addReplyErrorSds(client *c, sds err) { |
| 624 | addReplyErrorLength(c,err,sdslen(err)); |
| 625 | afterErrorReply(c,err,sdslen(err)); |
| 626 | sdsfree(err); |
| 627 | } |
| 628 | |
| 629 | /* See addReplyErrorLength for expectations from the formatted string. |
| 630 | * The formatted string is safe to contain \r and \n anywhere. */ |
no test coverage detected