summaryrefslogtreecommitdiff
path: root/src/replication.c
diff options
context:
space:
mode:
authorcharsyam <charsyam@naver.com>2019-10-07 23:48:11 +0900
committercharsyam <charsyam@naver.com>2019-10-07 23:48:11 +0900
commitbea0384f5d616dd44b5202ccb2c5345f4a671d13 (patch)
treee2026101b7bc817b1df13dbdc85c0023550a2829 /src/replication.c
parentbd6044706641fa6370a90dc5347e6cd37f5930eb (diff)
downloadredis-bea0384f5d616dd44b5202ccb2c5345f4a671d13.tar.gz
fix type salves to slaves
Diffstat (limited to 'src/replication.c')
-rw-r--r--src/replication.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/replication.c b/src/replication.c
index 76090a9e5..f10a91677 100644
--- a/src/replication.c
+++ b/src/replication.c
@@ -585,7 +585,7 @@ int startBgsaveForReplication(int mincapa) {
}
/* If we failed to BGSAVE, remove the slaves waiting for a full
- * resynchorinization from the list of salves, inform them with
+ * resynchorinization from the list of slaves, inform them with
* an error about what happened, close the connection ASAP. */
if (retval == C_ERR) {
serverLog(LL_WARNING,"BGSAVE for replication failed");
@@ -606,7 +606,7 @@ int startBgsaveForReplication(int mincapa) {
}
/* If the target is socket, rdbSaveToSlavesSockets() already setup
- * the salves for a full resync. Otherwise for disk target do it now.*/
+ * the slaves for a full resync. Otherwise for disk target do it now.*/
if (!socket_target) {
listRewind(server.slaves,&li);
while((ln = listNext(&li))) {