summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTodd Lyons <tlyons@exim.org>2014-09-23 05:09:15 -0700
committerTodd Lyons <tlyons@exim.org>2014-09-23 05:09:15 -0700
commit9175a8d2ac50382af2045b37e7b054180f91f4e8 (patch)
treed42e036ab074875949f1940ddfc73b7ea55ba9c2 /src
parented54e8aea07ab7ff1d0090e313b209f26a7fa3bd (diff)
parent972af88e604546ee2ab1f817b8a098056065dd78 (diff)
Merge remote-tracking branch 'exim_github/pr/18'
Diffstat (limited to 'src')
-rw-r--r--src/src/lookups/redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/lookups/redis.c b/src/src/lookups/redis.c
index 87cc9fd1a..ac4d0ec30 100644
--- a/src/src/lookups/redis.c
+++ b/src/src/lookups/redis.c
@@ -211,7 +211,7 @@ perform_redis_search(uschar *command, uschar *server, uschar **resultptr,
break;
case REDIS_REPLY_INTEGER:
- ttmp = (redis_reply->integer == 1) ? US"true" : US"false";
+ ttmp = (redis_reply->integer != 0) ? US"true" : US"false";
result = string_cat(result, &ssize, &offset, US ttmp, Ustrlen(ttmp));
break;
case REDIS_REPLY_STRING: