summaryrefslogtreecommitdiff
path: root/src/cluster.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-02-10 16:27:33 +0100
committerantirez <antirez@gmail.com>2014-02-10 16:27:37 +0100
commitf885fa8bac6e476e4ca9ad8be80707ac74a320af (patch)
tree392df451f770bec80c9fc45801a42211a58acf32 /src/cluster.h
parent344a065d51aa79a96c58c490cf202d5950cb60da (diff)
downloadredis-f885fa8bac6e476e4ca9ad8be80707ac74a320af.tar.gz
Cluster: clusterReadHandler() fixed to work with new message header.
Diffstat (limited to 'src/cluster.h')
-rw-r--r--src/cluster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.h b/src/cluster.h
index ef466c820..aae13cd40 100644
--- a/src/cluster.h
+++ b/src/cluster.h
@@ -196,9 +196,9 @@ union clusterMsgData {
typedef struct {
char sig[4]; /* Siganture "RCmb" (Redis Cluster message bus). */
+ uint32_t totlen; /* Total length of this message */
uint16_t ver; /* Protocol version, currently set to 0. */
uint16_t notused0; /* 2 bytes not used. */
- uint32_t totlen; /* Total length of this message */
uint16_t type; /* Message type */
uint16_t count; /* Only used for some kind of messages. */
uint64_t currentEpoch; /* The epoch accordingly to the sending node. */