Use existing reply functions where possible

This commit is contained in:
Pieter Noordhuis
2010-09-02 14:30:56 +02:00
parent cd76bb651d
commit b70d355521
7 changed files with 10 additions and 12 deletions

View File

@ -369,7 +369,7 @@ void sortCommand(redisClient *c) {
* replaced. */
server.dirty += 1+outputlen;
touchWatchedKey(c->db,storekey);
addReplySds(c,sdscatprintf(sdsempty(),":%d\r\n",outputlen));
addReplyLongLong(c,outputlen);
}
/* Cleanup */