Skip to content

Commit

Permalink
Update src/replication.c
Browse files Browse the repository at this point in the history
remove misleading else

Co-authored-by: Ping Xie <[email protected]>
  • Loading branch information
naglera and PingXie authored Jun 30, 2024
1 parent 990845e commit cd46a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replication.c
Original file line number Diff line number Diff line change
Expand Up @@ -3623,7 +3623,7 @@ void syncWithPrimary(connection *conn) {
return;
}
/* Setup the non blocking download of the bulk file. */
else if (connSetReadHandler(conn, readSyncBulkPayload) == C_ERR)
if (connSetReadHandler(conn, readSyncBulkPayload) == C_ERR)
{
char conninfo[CONN_INFO_LEN];
serverLog(LL_WARNING, "Can't create readable event for SYNC: %s (%s)", strerror(errno),
Expand Down

0 comments on commit cd46a33

Please sign in to comment.