summaryrefslogtreecommitdiffstats
path: root/perl/Rspamd/Object.xs
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-03 13:44:50 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-03 13:44:50 +0300
commit3ff032cf72164dc9aa8575c0a631f7c7b0079f46 (patch)
tree98a7b11bf70232a6c0825591957352f2d4acc9b9 /perl/Rspamd/Object.xs
parentf972cde13ca98f6ed992a288826467abf04c888a (diff)
downloadrspamd-3ff032cf72164dc9aa8575c0a631f7c7b0079f46.tar.gz
rspamd-3ff032cf72164dc9aa8575c0a631f7c7b0079f46.zip
* New rspamd protocol (changed replies)
* Add ability to attach string lists to symbols * Check destructors and do not add identical destructors (argument and function) to pool's destructors * Remove 2 warnings when building with gmime22 * Attach url names to surbl symbols * Fix bug with blocking on read (I think it is linux specific thought)
Diffstat (limited to 'perl/Rspamd/Object.xs')
-rw-r--r--perl/Rspamd/Object.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Rspamd/Object.xs b/perl/Rspamd/Object.xs
index cf5fffb11..2f56fb995 100644
--- a/perl/Rspamd/Object.xs
+++ b/perl/Rspamd/Object.xs
@@ -15,7 +15,7 @@ rspamd_object_get_content_type (mime_object)
char * textdata;
GMimeContentType *ct;
CODE:
- ct = g_mime_object_get_content_type (mime_object);
+ ct = (GMimeContentType *)g_mime_object_get_content_type (mime_object);
textdata = g_mime_content_type_to_string (ct);
RETVAL = g_mime_content_type_new_from_string (textdata);
plist = g_list_prepend (plist, RETVAL);