summaryrefslogtreecommitdiff
path: root/src/replication.c
diff options
context:
space:
mode:
authorpgxiaolianzi <57252326+lxl-renren@users.noreply.github.com>2021-06-02 13:54:30 +0800
committerGitHub <noreply@github.com>2021-06-01 22:54:30 -0700
commitf63bb9583d59985bd53f370e91924b26281207d7 (patch)
tree65f5d2b1e6780a68bdd9ef87bac6ec2128eb89e9 /src/replication.c
parent7cb42c9c36bbf410205742b2bc0cb95aeaefdc51 (diff)
downloadredis-f63bb9583d59985bd53f370e91924b26281207d7.tar.gz
Fix typo on buckup to backup (#8919)
Diffstat (limited to 'src/replication.c')
-rw-r--r--src/replication.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/replication.c b/src/replication.c
index ee86b415a..bd0c6ca8c 100644
--- a/src/replication.c
+++ b/src/replication.c
@@ -1531,14 +1531,14 @@ dbBackup *disklessLoadMakeBackup(void) {
*
* If the socket loading went wrong, we want to restore the old backups
* into the server databases. */
-void disklessLoadRestoreBackup(dbBackup *buckup) {
- restoreDbBackup(buckup);
+void disklessLoadRestoreBackup(dbBackup *backup) {
+ restoreDbBackup(backup);
}
/* Helper function for readSyncBulkPayload() to discard our old backups
* when the loading succeeded. */
-void disklessLoadDiscardBackup(dbBackup *buckup, int flag) {
- discardDbBackup(buckup, flag, replicationEmptyDbCallback);
+void disklessLoadDiscardBackup(dbBackup *backup, int flag) {
+ discardDbBackup(backup, flag, replicationEmptyDbCallback);
}
/* Asynchronously read the SYNC payload we receive from a master */