Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
34c3be36
Unverified
Commit
34c3be36
authored
Aug 19, 2020
by
Raghav Muddur
Committed by
GitHub
Aug 19, 2020
Browse files
Update clusterMsgDataPublish to clusterMsgModule (#7682)
Correcting the variable to clusterMsgModule.
parent
cbd9af85
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
34c3be36
...
...
@@ -1767,7 +1767,7 @@ int clusterProcessPacket(clusterLink *link) {
}
else
if
(
type
==
CLUSTERMSG_TYPE_MODULE
)
{
uint32_t
explen
=
sizeof
(
clusterMsg
)
-
sizeof
(
union
clusterMsgData
);
explen
+=
sizeof
(
clusterMsg
DataPublish
)
-
explen
+=
sizeof
(
clusterMsg
Module
)
-
3
+
ntohl
(
hdr
->
data
.
module
.
msg
.
len
);
if
(
totlen
!=
explen
)
return
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment