diff options
author | Raghav Muddur <r@nmvk.com> | 2020-08-19 19:13:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 19:13:32 -0700 |
commit | 34c3be365a3a8bc74f7a99b3e35cb211afaa58ca (patch) | |
tree | 24ee496c826b46ace29265e7d8eeaf28d93e59c9 | |
parent | cbd9af85838a73c9c9654829cf8e511ecc5853de (diff) | |
download | redis-34c3be365a3a8bc74f7a99b3e35cb211afaa58ca.tar.gz |
Update clusterMsgDataPublish to clusterMsgModule (#7682)
Correcting the variable to clusterMsgModule.
-rw-r--r-- | src/cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |