projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce32589
)
Redis: fix server-specified-in-lookup
author
Jasen Betts
<jasen@xnet.co.nz>
Fri, 18 Dec 2015 13:42:27 +0000
(13:42 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 18 Dec 2015 13:42:27 +0000
(13:42 +0000)
Affects Bug 1745. Broken-by:
2d8d625b2b96
src/src/lookups/redis.c
patch
|
blob
|
blame
|
history
diff --git
a/src/src/lookups/redis.c
b/src/src/lookups/redis.c
index 91bd41feea234184365b1b03bd6b145b8ad28d4a..5f677ff067a11829126e632fa3f359c4616e3aca 100644
(file)
--- 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 */