]> source.dussan.org Git - rspamd.git/commitdiff
Fix composites parsing.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 23 Mar 2015 22:21:21 +0000 (22:21 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 23 Mar 2015 22:21:21 +0000 (22:21 +0000)
src/libmime/filter.c

index e107bc56b35e8d95ead9280c13e0ba802b7d01f1..503b8c0a1106988aadec58918e17ac4d2c9eca73 100644 (file)
@@ -444,6 +444,7 @@ rspamd_composite_expr_parse (const gchar *line, gsize len,
 
        res = rspamd_mempool_alloc0 (pool, sizeof (*res));
        res->len = clen;
+       res->str = line;
        res->data = rspamd_mempool_strdup (pool, line);
 
        return res;