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

@ -211,7 +211,7 @@ void appendCommand(redisClient *c) {
}
touchWatchedKey(c->db,c->argv[1]);
server.dirty++;
addReplySds(c,sdscatprintf(sdsempty(),":%lu\r\n",(unsigned long)totlen));
addReplyLongLong(c,totlen);
}
void substrCommand(redisClient *c) {