aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/expression.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-09 14:58:44 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-09 14:58:44 +0100
commitabaa90892c4256e78655644e2e8bfb8b663a0fa0 (patch)
tree2a0a7dae1ce4d90d17cbd8bef439def6e99348ad /src/libutil/expression.c
parent62b3a7c5e9ea60844802c8f1fd6bcd6e4f5ea81a (diff)
downloadrspamd-abaa90892c4256e78655644e2e8bfb8b663a0fa0.tar.gz
rspamd-abaa90892c4256e78655644e2e8bfb8b663a0fa0.zip
[Minor] Fixes for the previous project
Diffstat (limited to 'src/libutil/expression.c')
-rw-r--r--src/libutil/expression.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libutil/expression.c b/src/libutil/expression.c
index 463e3165a..bf5bb467c 100644
--- a/src/libutil/expression.c
+++ b/src/libutil/expression.c
@@ -619,8 +619,7 @@ rspamd_parse_expression (const gchar *line, gsize len,
if (p + 1 < end) {
gchar t = *(p + 1);
- if (g_ascii_isspace (t) || g_ascii_isalnum (t) ||
- rspamd_expr_is_operation_symbol (t)) {
+ if (t != ':') {
state = PARSE_OP;
continue;
}