From 5cfd2e57f5842d83cd33650ae404b64e50e6ed65 Mon Sep 17 00:00:00 2001 From: Phil Pennock Date: Wed, 5 Oct 2011 00:29:25 -0400 Subject: [PATCH] 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. --- src/src/expand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1