diff options
-rw-r--r-- | src/src/lookups/redis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src/lookups/redis.c b/src/src/lookups/redis.c index 91bd41fee..5f677ff06 100644 --- a/src/src/lookups/redis.c +++ b/src/src/lookups/redis.c @@ -209,13 +209,13 @@ if(sdata[1]) { uschar * argv[32]; int i; - const uschar * s; + const uschar * s = command; int siz, ptr; uschar c; while (isspace(*s)) s++; - for (s = command, i = 0; *s && i < nele(argv); i++) + for (i = 0; *s && i < nele(argv); i++) { for (argv[i] = NULL, siz = ptr = 0; (c = *s) && !isspace(c); s++) if (c != '\\' || *++s) /* backslash protects next char */ |