diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-20 19:06:33 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-04-20 19:06:33 +0400 |
commit | 49090569c0c1e0ea3af0daefe43bc9c79d46838e (patch) | |
tree | d0ec853fc299d694dc33ad4967f9626350874888 /src/expressions.c | |
parent | c0cd8e414ad614ed7a3d9c2122abffc78db7602c (diff) | |
download | rspamd-49090569c0c1e0ea3af0daefe43bc9c79d46838e.tar.gz rspamd-49090569c0c1e0ea3af0daefe43bc9c79d46838e.zip |
* Add some debug
* Check for headers not only in message but also in its primary part
Diffstat (limited to 'src/expressions.c')
-rw-r--r-- | src/expressions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expressions.c b/src/expressions.c index 6519879c5..df6f0271f 100644 --- a/src/expressions.c +++ b/src/expressions.c @@ -876,6 +876,8 @@ rspamd_content_type_has_param (struct worker_task *task, GList *args) ct = g_mime_object_get_content_type (part); g_object_unref (part); + msg_debug ("rspamd_content_type_has_param: checking %s param", param_name); + if ((param_data = g_mime_content_type_get_parameter (ct, param_name)) == NULL) { return FALSE; } |