diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-19 19:12:15 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-19 19:12:15 +0300 |
commit | fb00c75abdfeaa15302a5922859e424b0313d5b5 (patch) | |
tree | 46d93b2616d96654d2474e80ea582e48b104165b | |
parent | 625169e939accf50fa9cf283ff62d06d4a792699 (diff) | |
download | rspamd-fb00c75abdfeaa15302a5922859e424b0313d5b5.tar.gz rspamd-fb00c75abdfeaa15302a5922859e424b0313d5b5.zip |
* Misprint in optimizer function
-rw-r--r-- | src/plugins/regexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c index 461888abf..6509a4e5e 100644 --- a/src/plugins/regexp.c +++ b/src/plugins/regexp.c @@ -280,11 +280,11 @@ optimize_regexp_expression (struct expression **e, GQueue *stack, gboolean res) continue; } else if (it->content.operation == '&' && res == FALSE) { - e = ⁢ + *e = it; ret = TRUE; } else if (it->content.operation == '|' && res == TRUE) { - e = ⁢ + *e = it; ret = TRUE; } break; |