Merge branch 'unstable' of github.com:/antirez/redis into unstable

This commit is contained in:
antirez 2017-06-14 18:29:53 +02:00
commit ab9d398835
2 changed files with 1 additions and 2 deletions

View File

@ -37,7 +37,6 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>
#include <sys/socket.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/file.h> #include <sys/file.h>
#include <math.h> #include <math.h>

View File

@ -232,7 +232,7 @@ union clusterMsgData {
typedef struct { typedef struct {
char sig[4]; /* Siganture "RCmb" (Redis Cluster message bus). */ char sig[4]; /* Siganture "RCmb" (Redis Cluster message bus). */
uint32_t totlen; /* Total length of this message */ uint32_t totlen; /* Total length of this message */
uint16_t ver; /* Protocol version, currently set to 0. */ uint16_t ver; /* Protocol version, currently set to 1. */
uint16_t port; /* TCP base port number. */ uint16_t port; /* TCP base port number. */
uint16_t type; /* Message type */ uint16_t type; /* Message type */
uint16_t count; /* Only used for some kind of messages. */ uint16_t count; /* Only used for some kind of messages. */