summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-05-28 15:46:05 +0200
committerantirez <antirez@gmail.com>2014-05-28 15:46:05 +0200
commit8a588ac14d229aa330d7b2daea1778c606e6588b (patch)
tree84b265e777551eee52a5f7d01e4c8191d6815eab
parentefbe17396248082bb9a9b1f30c6b2774c22422df (diff)
downloadredis-8a588ac14d229aa330d7b2daea1778c606e6588b.tar.gz
More trailing spaces in sentinel.c removed.
-rw-r--r--src/sentinel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sentinel.c b/src/sentinel.c
index 1a5d78f1c..b1d843667 100644
--- a/src/sentinel.c
+++ b/src/sentinel.c
@@ -88,7 +88,7 @@ typedef struct sentinelAddr {
/* Failover machine different states. */
#define SENTINEL_FAILOVER_STATE_NONE 0 /* No failover in progress. */
-#define SENTINEL_FAILOVER_STATE_WAIT_START 1 /* Wait for failover_start_time*/
+#define SENTINEL_FAILOVER_STATE_WAIT_START 1 /* Wait for failover_start_time*/
#define SENTINEL_FAILOVER_STATE_SELECT_SLAVE 2 /* Select slave to promote */
#define SENTINEL_FAILOVER_STATE_SEND_SLAVEOF_NOONE 3 /* Slave -> Master */
#define SENTINEL_FAILOVER_STATE_WAIT_PROMOTION 4 /* Wait slave to change role */
@@ -2875,7 +2875,7 @@ void sentinelCheckSubjectivelyDown(sentinelRedisInstance *ri) {
if (ri->last_ping_time)
elapsed = mstime() - ri->last_ping_time;
- /* Check if we are in need for a reconnection of one of the
+ /* Check if we are in need for a reconnection of one of the
* links, because we are detecting low activity.
*
* 1) Check if the command link seems connected, was connected not less