git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tidying
[exim.git]
/
src
/
src
/
lookups
/
redis.c
diff --git
a/src/src/lookups/redis.c
b/src/src/lookups/redis.c
index 7b680f086996d85ed9f4b79bd4c01f0398dcf9a5..53b479142668ebceec2497cc7726e6c4f6c275f3 100644
(file)
--- a/
src/src/lookups/redis.c
+++ b/
src/src/lookups/redis.c
@@
-212,7
+212,7
@@
if(sdata[1])
int siz, ptr, i;
uschar c;
int siz, ptr, i;
uschar c;
-
while (isspace(*s)) s++
;
+
Uskip_whitespace(&s)
;
for (i = 0; *s && i < nele(argv); i++)
{
for (i = 0; *s && i < nele(argv); i++)
{
@@
-224,7
+224,7
@@
if(sdata[1])
argv[i] = string_from_gstring(g);
DEBUG(D_lookup) debug_printf_indent("REDIS: argv[%d] '%s'\n", i, argv[i]);
argv[i] = string_from_gstring(g);
DEBUG(D_lookup) debug_printf_indent("REDIS: argv[%d] '%s'\n", i, argv[i]);
-
while (isspace(*s)) s++
;
+
Uskip_whitespace(&s)
;
}
/* Run the command. We use the argv form rather than plain as that parses
}
/* Run the command. We use the argv form rather than plain as that parses