File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2053,8 +2053,11 @@ void replicaofCommand(client *c) {
2053
2053
/* Check if we are already attached to the specified slave */
2054
2054
if (server .masterhost && !strcasecmp (server .masterhost ,c -> argv [1 ]-> ptr )
2055
2055
&& server .masterport == port ) {
2056
- serverLog (LL_NOTICE ,"REPLICAOF would result into synchronization with the master we are already connected with. No operation performed." );
2057
- addReplySds (c ,sdsnew ("+OK Already connected to specified master\r\n" ));
2056
+ serverLog (LL_NOTICE ,"REPLICAOF would result into synchronization "
2057
+ "with the master we are already connected "
2058
+ "with. No operation performed." );
2059
+ addReplySds (c ,sdsnew ("+OK Already connected to specified "
2060
+ "master\r\n" ));
2058
2061
return ;
2059
2062
}
2060
2063
/* There was no previous master or the user specified a different one,
You can’t perform that action at this time.
0 commit comments