diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-10 14:59:25 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-10 14:59:25 +0300 |
commit | f209c7c4f6d8e50a5328a720ab05a6079c15d00e (patch) | |
tree | 5e719211a45e5aa9971fca4689d820da33df1f63 /src/message.c | |
parent | db2aa89316d180d8137f4f8f96b5193fd627e894 (diff) | |
download | rspamd-f209c7c4f6d8e50a5328a720ab05a6079c15d00e.tar.gz rspamd-f209c7c4f6d8e50a5328a720ab05a6079c15d00e.zip |
* Avoid extra requests to surbls saving them into requests cache
* Lower debug level for some errors (INFO to DEBUG)
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c index c2acaa0cd..d1f79ebfb 100644 --- a/src/message.c +++ b/src/message.c @@ -339,7 +339,7 @@ process_message (struct worker_task *task) * This causes g_mime_stream not to free memory by itself as it is memory allocated by * pool allocator */ - g_mime_stream_mem_set_owner (stream, FALSE); + g_mime_stream_mem_set_owner (GMIME_STREAM_MEM (stream), FALSE); msg_debug ("process_message: construct mime parser from string length %ld", (long int)task->msg->len); /* create a new parser object to parse the stream */ @@ -458,7 +458,7 @@ process_learn (struct controller_session *session) * This causes g_mime_stream not to free memory by itself as it is memory allocated by * pool allocator */ - g_mime_stream_mem_set_owner (stream, FALSE); + g_mime_stream_mem_set_owner (GMIME_STREAM_MEM (stream), FALSE); /* create a new parser object to parse the stream */ parser = g_mime_parser_new_with_stream (stream); |