From 6c66fef00432d72e41123ac68ace33d40f99321e Mon Sep 17 00:00:00 2001 From: John Sully Date: Sun, 12 Jul 2020 05:14:59 +0000 Subject: [PATCH] Fix failure to replicate with license key Former-commit-id: 41a72a795ade90b1aea509e9e3ebad819a997acf --- src/replication.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/replication.cpp b/src/replication.cpp index 477fe6e10..ea290363e 100644 --- a/src/replication.cpp +++ b/src/replication.cpp @@ -2723,9 +2723,6 @@ void syncWithMaster(connection *conn) { if (err[1] == 'E' && err[2] == 'R' && err[3] == 'R') { // Replicating with non-pro serverLog(LL_WARNING, "Replicating with non-pro server."); - mi->repl_state = REPL_STATE_SEND_PORT; - sdsfree(err); - return; } else { serverLog(LL_WARNING, "Recieved error from client: %s", err); sdsfree(err);