From 8b32bd483aecb3271aa3527ac869b87342a8a9b6 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 28 Jan 2014 16:34:23 +0100 Subject: [PATCH] Cluster: limit cluster.h to 80 cols. --- src/cluster.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cluster.h b/src/cluster.h index 673643686..5cbef33d3 100644 --- a/src/cluster.h +++ b/src/cluster.h @@ -175,8 +175,9 @@ typedef struct { 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. */ - uint64_t configEpoch; /* The config epoch if it's a master, or the last epoch - advertised by its master if it is a slave. */ + uint64_t configEpoch; /* The config epoch if it's a master, or the last + epoch advertised by its master if it is a + slave. */ char sender[REDIS_CLUSTER_NAMELEN]; /* Name of the sender node */ unsigned char myslots[REDIS_CLUSTER_SLOTS/8]; char slaveof[REDIS_CLUSTER_NAMELEN]; @@ -190,7 +191,7 @@ typedef struct { #define CLUSTERMSG_MIN_LEN (sizeof(clusterMsg)-sizeof(union clusterMsgData)) -/* ----------------------- API exported outside cluster.c ------------------------- */ +/* ---------------------- API exported outside cluster.c -------------------- */ clusterNode *getNodeByQuery(redisClient *c, struct redisCommand *cmd, robj **argv, int argc, int *hashslot, int *ask); #endif /* __REDIS_CLUSTER_H */ -- GitLab