diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-06-23 15:13:50 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-06-23 15:13:50 +0400 |
commit | 411f4a081f36c8305b6c9b750e8f43fc50beb879 (patch) | |
tree | cfa9bb2fa105ce79d614afd29ba0b20e8bbb3041 /src/plugins/regexp.c | |
parent | 18ce6f0c60f1125c5344d9fd8e90e5ea2941bf01 (diff) | |
download | rspamd-411f4a081f36c8305b6c9b750e8f43fc50beb879.tar.gz rspamd-411f4a081f36c8305b6c9b750e8f43fc50beb879.zip |
* Fix -lintl detection
* Init some variables to avoid problems
Diffstat (limited to 'src/plugins/regexp.c')
-rw-r--r-- | src/plugins/regexp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c index 7a0d1b0b8..c660f16c3 100644 --- a/src/plugins/regexp.c +++ b/src/plugins/regexp.c @@ -578,7 +578,12 @@ process_regexp (struct rspamd_regexp *re, struct worker_task *task, const char * struct mime_text_part *part; GList *cur, *headerlist; GRegex *regexp; - struct url_regexp_param callback_param; + struct url_regexp_param callback_param = { + .task = task, + .regexp = re->regexp, + .re = re, + .found = FALSE + }; int r; |