Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

Commit

Permalink
Fix typo: ad -> and
Browse files Browse the repository at this point in the history
Closes redis#1537
  • Loading branch information
badboy authored and mattsta committed Sep 12, 2014
1 parent 7e08f25 commit fc654b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/replication.c
Expand Up @@ -200,7 +200,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {

/* We need to feed the buffer with the object as a bulk reply
* not just as a plain string, so create the $..CRLF payload len
* ad add the final CRLF */
* and add the final CRLF */
aux[0] = '$';
len = ll2string(aux+1,sizeof(aux)-1,objlen);
aux[len+1] = '\r';
Expand Down Expand Up @@ -408,7 +408,7 @@ int masterTryPartialResynchronization(redisClient *c) {
return REDIS_ERR;
}

/* SYNC ad PSYNC command implemenation. */
/* SYNC and PSYNC command implemenation. */
void syncCommand(redisClient *c) {
/* ignore SYNC if already slave or in monitor mode */
if (c->flags & REDIS_SLAVE) return;
Expand Down

0 comments on commit fc654b6

Please sign in to comment.