From: Vsevolod Stakhov Date: Mon, 28 Mar 2016 12:54:40 +0000 (+0100) Subject: [Fix] Do not use '|' symbol as it is operator's symbol X-Git-Tag: 1.2.2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54fa810c0fa2af41bf078d66eeb48d85cefe1142;p=thirdparty%2Frspamd.git [Fix] Do not use '|' symbol as it is operator's symbol Replace '|' with '^'. --- diff --git a/src/libserver/composites.c b/src/libserver/composites.c index f2656a6906..c229095352 100644 --- a/src/libserver/composites.c +++ b/src/libserver/composites.c @@ -206,7 +206,7 @@ rspamd_composite_expr_process (gpointer input, rspamd_expression_atom_t *atom) nrd->action &= ~(RSPAMD_COMPOSITE_REMOVE_WEIGHT| RSPAMD_COMPOSITE_REMOVE_SYMBOL); } - else if (t == '|') { + else if (t == '^') { nrd->action |= RSPAMD_COMPOSITE_REMOVE_FORCED; } else {