git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19cbdd2
)
fix sub2_honour_dollar type
exim-4_77_RC3
author
Phil Pennock
<pdp@exim.org>
Wed, 5 Oct 2011 04:29:25 +0000
(
00:29
-0400)
committer
Phil Pennock
<pdp@exim.org>
Wed, 5 Oct 2011 04:29:25 +0000
(
00:29
-0400)
Was code correct before, but storing a ptr of 0 or 1, from bool initialiser.
I meant to use a BOOL and it is more type-safe to do so, so fixed.
src/src/expand.c
patch
|
blob
|
history
diff --git
a/src/src/expand.c
b/src/src/expand.c
index ef40fd0c59dc34318527332bb2dc3db9ac69e037..a3dc590cce982033c0b08353e6e2eb2a760d92ac 100644
(file)
--- a/
src/src/expand.c
+++ b/
src/src/expand.c
@@
-1775,7
+1775,7
@@
eval_condition(uschar *s, BOOL *yield)
BOOL testfor = TRUE;
BOOL tempcond, combined_cond;
BOOL *subcondptr;
-BOOL
*
sub2_honour_dollar = TRUE;
+BOOL sub2_honour_dollar = TRUE;
int i, rc, cond_type, roffset;
int num[2];
struct stat statbuf;