MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / addReplyStatusLength

Function addReplyStatusLength

src/networking.cpp:646–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644}
645
646void addReplyStatusLength(client *c, const char *s, size_t len) {
647 addReplyProto(c,"+",1);
648 addReplyProto(c,s,len);
649 addReplyProto(c,"\r\n",2);
650}
651
652void addReplyStatus(client *c, const char *status) {
653 addReplyStatusLength(c,status,strlen(status));

Callers 2

addReplyStatusFunction · 0.85
addReplyStatusFormatFunction · 0.85

Calls 1

addReplyProtoFunction · 0.85

Tested by

no test coverage detected