summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-09-14 16:41:05 +0200
committerantirez <antirez@gmail.com>2016-09-14 16:41:05 +0200
commit041ab04419235010c8f7a54f256a8701390370cd (patch)
treecffefc72ba0ce456694dbd8b57c1376769f18ada
parenta636aeac07240fea0acb6066bf1752d0913a9b4e (diff)
downloadredis-041ab04419235010c8f7a54f256a8701390370cd.tar.gz
Trim comment to 80 cols.
-rw-r--r--src/sentinel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sentinel.c b/src/sentinel.c
index 235611546..1f47dd337 100644
--- a/src/sentinel.c
+++ b/src/sentinel.c
@@ -3674,7 +3674,7 @@ char *sentinelGetLeader(sentinelRedisInstance *master, uint64_t epoch) {
serverAssert(master->flags & (SRI_O_DOWN|SRI_FAILOVER_IN_PROGRESS));
counters = dictCreate(&leaderVotesDictType,NULL);
- voters = dictSize(master->sentinels)+1; /* All the other sentinels and me. */
+ voters = dictSize(master->sentinels)+1; /* All the other sentinels and me.*/
/* Count other sentinels votes */
di = dictGetIterator(master->sentinels);