From: Vsevolod Stakhov Date: Thu, 23 Apr 2009 14:22:38 +0000 (+0400) Subject: * Another try X-Git-Tag: 0.2.7~177 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=77cff375a07ba41b00c37baff72111f0b21ba9ae;p=rspamd.git * Another try --- diff --git a/src/expressions.c b/src/expressions.c index 52b4bcef3..ba24ae252 100644 --- a/src/expressions.c +++ b/src/expressions.c @@ -380,7 +380,7 @@ parse_expression (memory_pool_t *pool, char *line) if (!is_regexp_flag (*p) || *(p + 1) == '\0') { if (c != p) { /* Copy operand */ - if (*(p + 1) == '\0' || *p == '/') { + if (*(p + 1) == '\0' || *(p - 1) == '/') { p++; } str = memory_pool_alloc (pool, p - c + 1);