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
Fix the way ${extract is skipped in the untaken branch of a conditional.
[exim.git]
/
src
/
src
/
expand.c
diff --git
a/src/src/expand.c
b/src/src/expand.c
index fc203ac59853c728981385cb0385a385ef13e331..cd84294ae59ad66799451a153f718c532c48bf4c 100644
(file)
--- a/
src/src/expand.c
+++ b/
src/src/expand.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/expand.c,v 1.9
5 2008/05/22 10:56:27
fanf2 Exp $ */
+/* $Cambridge: exim/src/src/expand.c,v 1.9
6 2008/08/07 11:05:03
fanf2 Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-4659,7
+4659,7
@@
while (*s != 0)
while (len > 0 && isspace(p[len-1])) len--;
p[len] = 0;
while (len > 0 && isspace(p[len-1])) len--;
p[len] = 0;
- if (*p == 0)
+ if (*p == 0
&& !skipping
)
{
expand_string_message = US"first argument of \"extract\" must "
"not be empty";
{
expand_string_message = US"first argument of \"extract\" must "
"not be empty";