From: Phil Pennock Date: Wed, 5 Oct 2011 04:29:25 +0000 (-0400) Subject: fix sub2_honour_dollar type X-Git-Tag: exim-4_77_RC3^0 X-Git-Url: https://git.exim.org/users/jgh/exim.git/commitdiff_plain/5cfd2e57f5842d83cd33650ae404b64e50e6ed65 fix sub2_honour_dollar type 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. --- diff --git a/src/src/expand.c b/src/src/expand.c index ef40fd0c5..a3dc590cc 100644 --- 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;