X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/163144aab02a47427340d0ecc75e2abde675f4c9..3d2e82c5729148f3f88fbb7de7e6dcbc20d0c867:/src/src/lookups/redis.c diff --git a/src/src/lookups/redis.c b/src/src/lookups/redis.c index 1b53eed69..53bd8d53d 100644 --- a/src/src/lookups/redis.c +++ b/src/src/lookups/redis.c @@ -227,8 +227,7 @@ if(sdata[1]) /* Run the command. We use the argv form rather than plain as that parses into args by whitespace yet has no escaping mechanism. */ - redis_reply = redisCommandArgv(redis_handle, i, (const char **) argv, NULL); - if (!redis_reply) + if (!(redis_reply = redisCommandArgv(redis_handle, i, CCSS argv, NULL))) { *errmsg = string_sprintf("REDIS: query failed: %s\n", redis_handle->errstr); *defer_break = FALSE;