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
9b810f1c
Commit
9b810f1c
authored
Jan 25, 2012
by
antirez
Browse files
Merge branch 'unstable' into limits
parents
c69ad1f2
6710ff24
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cluster.c
View file @
9b810f1c
...
@@ -804,7 +804,7 @@ void clusterBroadcastMessage(void *buf, size_t len) {
...
@@ -804,7 +804,7 @@ void clusterBroadcastMessage(void *buf, size_t len) {
/* Build the message header */
/* Build the message header */
void
clusterBuildMessageHdr
(
clusterMsg
*
hdr
,
int
type
)
{
void
clusterBuildMessageHdr
(
clusterMsg
*
hdr
,
int
type
)
{
int
totlen
;
int
totlen
=
0
;
memset
(
hdr
,
0
,
sizeof
(
*
hdr
));
memset
(
hdr
,
0
,
sizeof
(
*
hdr
));
hdr
->
type
=
htons
(
type
);
hdr
->
type
=
htons
(
type
);
...
...
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