Skip to content

Commit 018365b

Browse files
committed
Resolve conflict leftovers
Signed-off-by: Zhijun <dszhijun@gmail.com>
1 parent e442181 commit 018365b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/cluster_legacy.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3850,13 +3850,11 @@ int clusterProcessPacket(clusterLink *link) {
38503850
if (connAddrPeerName(link->conn, ip, sizeof(ip), &port) != -1) {
38513851
serverLog(LL_DEBUG, "%s packet received from: %.40s (%s) from client: %s:%d",
38523852
clusterGetMessageTypeString(type),
3853-
link->node ? link->node->name : "NULL",
3854-
link->node ? link->node->human_nodename : "",
3853+
clusterLinkGetNodeName(link), clusterLinkGetHumanNodeName(link),
38553854
ip, port);
38563855
} else {
38573856
serverLog(LL_DEBUG, "Error resolving the address of packet sender %.40s (%s)",
3858-
link->node ? link->node->name : "NULL",
3859-
link->node ? link->node->human_nodename : "");
3857+
clusterLinkGetNodeName(link), clusterLinkGetHumanNodeName(link));
38603858
}
38613859
}
38623860
/* PING, PONG, MEET: process config information. */

0 commit comments

Comments
 (0)