diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2019-10-10 14:56:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-10 14:56:43 +0200 |
commit | 8e3d910d4e8f8a4147ba5905a9684ce3a392d7ce (patch) | |
tree | f7680391d5f6b00bccfd9d12157caa668f5db5b1 | |
parent | 363604a27dc322025bb8867aced75184ea846fff (diff) | |
parent | bea0384f5d616dd44b5202ccb2c5345f4a671d13 (diff) | |
download | redis-8e3d910d4e8f8a4147ba5905a9684ce3a392d7ce.tar.gz |
Merge pull request #6429 from charsyam/feature/typo-slave
[trivial] fix typos salves to slaves in replication.c
-rw-r--r-- | src/replication.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/replication.c b/src/replication.c index 081212761..5519b9ce2 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))) { |