diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-05 16:57:55 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-05 16:57:55 +0400 |
commit | bae637bec8e9c23668cbacbb9f5a1bd829cae487 (patch) | |
tree | dabce6274bee145caca081a5dba6523783b5b749 /src/plugins | |
parent | 10a3c7a278b569bc978614f3b6e78d29f10a87e0 (diff) | |
download | rspamd-bae637bec8e9c23668cbacbb9f5a1bd829cae487.tar.gz rspamd-bae637bec8e9c23668cbacbb9f5a1bd829cae487.zip |
* Fix stupid error with surbl module reconfig (another one, blame me)
* Do not show duplicate urls in url header
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/surbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index ee8622f12..8c9d2ccb0 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -100,7 +100,7 @@ static u_char * read_exceptions_list (memory_pool_t * pool, u_char * chunk, size_t len, struct map_cb_data *data) { if (data->cur_data == NULL) { - data->cur_data = memory_pool_alloc (pool, sizeof (GHashTable *) * MAX_LEVELS); + data->cur_data = memory_pool_alloc0 (pool, sizeof (GHashTable *) * MAX_LEVELS); } return abstract_parse_list (pool, chunk, len, data, (insert_func) exception_insert); } |