summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Fowler <graemef@exim.org>2018-03-07 17:41:23 +0000
committerGraeme Fowler <graemef@exim.org>2018-03-07 17:41:23 +0000
commite29b631dc8f5694dd5964b40a85086015fdff054 (patch)
tree97ba80b224c3ae3a7513b7f8fe8e607ebaf9fc64
parentc4b57fddcae8301f324d2626083c13b2c5e60521 (diff)
Redis cluster DEFER & test results corrected
-rw-r--r--src/src/lookups/redis.c6
-rw-r--r--test/stdout/27014
2 files changed, 5 insertions, 5 deletions
diff --git a/src/src/lookups/redis.c b/src/src/lookups/redis.c
index dcd1b659c..e9ddf884c 100644
--- a/src/src/lookups/redis.c
+++ b/src/src/lookups/redis.c
@@ -248,12 +248,12 @@ switch (redis_reply->type)
DEBUG(D_lookup)
debug_printf("REDIS: cluster redirect %s\n", redis_reply->str);
/* follow redirect
- This is cheating, we simply set defer_break = TRUE to move on to
+ This is cheating, we simply set defer_break = FALSE to move on to
the next server in the redis_servers list */
- *defer_break = TRUE;
+ *defer_break = FALSE;
return DEFER;
} else {
- *defer_break = FALSE;
+ *defer_break = TRUE;
}
*do_cache = 0;
goto REDIS_EXIT;
diff --git a/test/stdout/2701 b/test/stdout/2701
index 67555c52a..96e4827b1 100644
--- a/test/stdout/2701
+++ b/test/stdout/2701
@@ -1,7 +1,7 @@
OK
> OK
> OK
->
+>
> objvalue plus
> bfhdkbflks
->
+>