See addReplyErrorLength for expectations from the input string. */ As a side effect the SDS string is freed. */
| 490 | /* See addReplyErrorLength for expectations from the input string. */ |
| 491 | /* As a side effect the SDS string is freed. */ |
| 492 | void addReplyErrorSds(client *c, sds err) { |
| 493 | addReplyErrorLength(c,err,sdslen(err)); |
| 494 | afterErrorReply(c,err,sdslen(err)); |
| 495 | sdsfree(err); |
| 496 | } |
| 497 | |
| 498 | /* See addReplyErrorLength for expectations from the formatted string. |
| 499 | * The formatted string is safe to contain \r and \n anywhere. */ |
no test coverage detected