From 5ed297e0882bba11410629c55d237cd1a029e99c Mon Sep 17 00:00:00 2001 From: Axel Advento Date: Tue, 3 Mar 2015 15:58:29 +0800 Subject: [PATCH] Fix 'salve' typos to 'slave' --- src/rdb.c | 2 +- tests/integration/replication.tcl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rdb.c b/src/rdb.c index e3236e12c..fc4b227e3 100644 --- a/src/rdb.c +++ b/src/rdb.c @@ -1425,7 +1425,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/tests/integration/replication.tcl b/tests/integration/replication.tcl index 71a7ec60a..316b91408 100644 --- a/tests/integration/replication.tcl +++ b/tests/integration/replication.tcl @@ -113,7 +113,7 @@ foreach dl {no yes} { start_server {} { lappend slaves [srv 0 client] test "Connect multiple slaves at the same time (issue #141), diskless=$dl" { - # Send SALVEOF commands to slaves + # Send SLAVEOF commands to slaves [lindex $slaves 0] slaveof $master_host $master_port [lindex $slaves 1] slaveof $master_host $master_port [lindex $slaves 2] slaveof $master_host $master_port