summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWander Hillen <wander@wetransfer.com>2018-03-16 09:59:17 +0100
committerWander Hillen <wander@wetransfer.com>2018-03-16 09:59:17 +0100
commitdda8cc182117cd5b164a524a1246e8be33d08f7e (patch)
treeee2bfd08202edb87dec66eca4bb7a007b9bc90d5
parentdcffca0a31bfd2ed9aec0f2cc49d14767c7ffec6 (diff)
downloadredis-dda8cc182117cd5b164a524a1246e8be33d08f7e.tar.gz
More typos
-rw-r--r--src/rdb.c2
-rw-r--r--src/server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rdb.c b/src/rdb.c
index 8f896983b..35448b624 100644
--- a/src/rdb.c
+++ b/src/rdb.c
@@ -1800,7 +1800,7 @@ void backgroundSaveDoneHandlerDisk(int exitcode, int bysignal) {
}
/* A background saving child (BGSAVE) terminated its work. Handle this.
- * This function covers the case of RDB -> Salves socket transfers for
+ * This function covers the case of RDB -> Slaves socket transfers for
* diskless replication. */
void backgroundSaveDoneHandlerSocket(int exitcode, int bysignal) {
uint64_t *ok_slaves;
diff --git a/src/server.c b/src/server.c
index 85f05f1f9..94850e2ea 100644
--- a/src/server.c
+++ b/src/server.c
@@ -2193,7 +2193,7 @@ void preventCommandReplication(client *c) {
* CMD_CALL_STATS Populate command stats.
* CMD_CALL_PROPAGATE_AOF Append command to AOF if it modified the dataset
* or if the client flags are forcing propagation.
- * CMD_CALL_PROPAGATE_REPL Send command to salves if it modified the dataset
+ * CMD_CALL_PROPAGATE_REPL Send command to slaves if it modified the dataset
* or if the client flags are forcing propagation.
* CMD_CALL_PROPAGATE Alias for PROPAGATE_AOF|PROPAGATE_REPL.
* CMD_CALL_FULL Alias for SLOWLOG|STATS|PROPAGATE.