Emit a reply in the client output buffer by formatting a Stream ID * in the standard - format, using the simple string protocol * of REPL. */
| 1346 | * in the standard <ms>-<seq> format, using the simple string protocol |
| 1347 | * of REPL. */ |
| 1348 | static void addReplyStreamID(client *c, streamID *id) { |
| 1349 | sds replyid = sdscatfmt(sdsempty(),"%U-%U",id->ms,id->seq); |
| 1350 | addReplyBulkSds(c,replyid); |
| 1351 | } |
| 1352 | |
| 1353 | void setDeferredReplyStreamID(client *c, void *dr, streamID *id) { |
| 1354 | sds replyid = sdscatfmt(sdsempty(),"%U-%U",id->ms,id->seq); |
no test coverage detected