aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-12-13 11:43:44 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-12-13 11:43:44 +0000
commit4e7e924c0744f39a263ad8a1dd8395e1fbe082c1 (patch)
tree8b3d1cf02342d793f53f146290ebd1e6d65219e0
parent2c73e682a66bdc3e335c8884f3981adcec9b90ff (diff)
downloadmailfromd-4e7e924c0744f39a263ad8a1dd8395e1fbe082c1.tar.gz
mailfromd-4e7e924c0744f39a263ad8a1dd8395e1fbe082c1.tar.bz2
(optimize_node): Fix typo that caused correct `matches' conditions to be rejected (e.g. strip_domain_part.mf)
git-svn-id: file:///svnroot/mailfromd/branches/release_3_1_patches@1110 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r--src/gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gram.y b/src/gram.y
index 9309c5d6..19e44ecf 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -3122,7 +3122,7 @@ optimize_node(NODE *node)
} else
node->v.bin.qualifier &=
~QUALIFIER_REGFREE;
- } else if (arg1->type == node_type_regcomp) {
+ } else if (arg1->type != node_type_regcomp) {
parse_error_locus(&arg1->locus,
"right-hand side argument "
"to match is "

Return to:

Send suggestions and report system problems to the System administrator.