Update clusterMsgDataPublish to clusterMsgModule (#7682)
Correcting the variable to clusterMsgModule. (cherry picked from commit f7cf24b5da539dbf4fafc404355a32bac06aa2f5)
This commit is contained in:
parent
f80b756076
commit
3564aab1a5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user