summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2011-04-26 15:02:09 -0400
committerPhil Pennock <pdp@exim.org>2011-04-26 15:02:09 -0400
commit5ee6f336ce27e7887fdc07ef45e0f3052d3893b0 (patch)
treea6d6c84a25f16f970070cb5380797d33a7d5aa2c /src
parenta5b5269546e02d1f2e90000e79df8409d4f269db (diff)
Cond !bool{}/!bool_lax{} did not negate. Fixed.
Fixes bug: 1104
Diffstat (limited to 'src')
-rw-r--r--src/src/expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/expand.c b/src/src/expand.c
index fece8c150..2e59c4084 100644
--- a/src/src/expand.c
+++ b/src/src/expand.c
@@ -2558,7 +2558,7 @@ switch(cond_type)
"value \"%s\"", t);
return NULL;
}
- if (yield != NULL) *yield = (boolvalue != 0);
+ if (yield != NULL) *yield = (boolvalue == testfor);
return s;
}