From 34c3be365a3a8bc74f7a99b3e35cb211afaa58ca Mon Sep 17 00:00:00 2001 From: Raghav Muddur Date: Wed, 19 Aug 2020 19:13:32 -0700 Subject: [PATCH] Update clusterMsgDataPublish to clusterMsgModule (#7682) Correcting the variable to clusterMsgModule. --- src/cluster.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cluster.c b/src/cluster.c index 3bf8db9af..463503700 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -1767,7 +1767,7 @@ int clusterProcessPacket(clusterLink *link) { } else if (type == CLUSTERMSG_TYPE_MODULE) { uint32_t explen = sizeof(clusterMsg)-sizeof(union clusterMsgData); - explen += sizeof(clusterMsgDataPublish) - + explen += sizeof(clusterMsgModule) - 3 + ntohl(hdr->data.module.msg.len); if (totlen != explen) return 1; }