Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
01bdf82c
Commit
01bdf82c
authored
Feb 03, 2014
by
Jan-Erik Rediger
Committed by
antirez
Oct 06, 2014
Browse files
Fix typo: ad -> and
Closes #1537
parent
76b3e827
Changes
1
Show whitespace changes
Inline
Side-by-side
src/replication.c
View file @
01bdf82c
...
...
@@ -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 */
* a
n
d add the final CRLF */
aux[0] = '$';
len = ll2string(aux+1,sizeof(aux)-1,objlen);
aux[len+1] = '\r';
...
...
@@ -408,7 +408,7 @@ need_full_resync:
return REDIS_ERR;
}
/* SYNC ad PSYNC command implemenation. */
/* SYNC a
n
d PSYNC command implemenation. */
void syncCommand(redisClient *c) {
/* ignore SYNC if already slave or in monitor mode */
if (c->flags & REDIS_SLAVE) return;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment