diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-30 19:35:57 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-30 19:35:57 +0400 |
commit | f579fed1dee306a5cf58360589d29ae1514d25b4 (patch) | |
tree | f5d5e288553d30fc617d06bf9e48ae919092f876 /src/message.c | |
parent | dd2fbb7a5b7e1c0d844900147486ad7ffd98c1e4 (diff) | |
download | rspamd-f579fed1dee306a5cf58360589d29ae1514d25b4.tar.gz rspamd-f579fed1dee306a5cf58360589d29ae1514d25b4.zip |
* Add 3 functions:
- is_recipients_sorted
- has_only_html_part
- compare_recipients_distance
* Update documentation
* Fix build
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c index c35659366..156bd1829 100644 --- a/src/message.c +++ b/src/message.c @@ -406,6 +406,11 @@ process_message (struct worker_task *task) memory_pool_add_destructor (task->task_pool, (pool_destruct_func)g_free, task->raw_headers); } + task->rcpts = g_mime_message_get_all_recipients (message); + if (task->rcpts) { + memory_pool_add_destructor (task->task_pool, (pool_destruct_func)internet_address_list_destroy, task->rcpts); + } + task->worker->srv->stat->messages_scanned ++; /* free the parser (and the stream) */ |