MCPcopy Create free account
hub / github.com/F-Stack/f-stack / addReplyErrorSds

Function addReplyErrorSds

app/redis-6.2.6/src/networking.c:492–496  ·  view source on GitHub ↗

See addReplyErrorLength for expectations from the input string. */ As a side effect the SDS string is freed. */

Source from the content-addressed store, hash-verified

490/* See addReplyErrorLength for expectations from the input string. */
491/* As a side effect the SDS string is freed. */
492void 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. */

Callers 2

rejectCommandFormatFunction · 0.85
clusterRedirectClientFunction · 0.85

Calls 4

addReplyErrorLengthFunction · 0.85
sdslenFunction · 0.85
afterErrorReplyFunction · 0.85
sdsfreeFunction · 0.85

Tested by

no test coverage detected