aboutsummaryrefslogtreecommitdiffstats
path: root/perl/Rspamd
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-24 13:29:52 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-24 13:29:52 +0300
commit5497b1213a5ee69cd25bd8cce26d223e8277ee3a (patch)
tree8a02b397f5b93194a73bc554c1fef6f37792ba58 /perl/Rspamd
parentc9c29d4163deb873c9d66104639484e3a9ced2b1 (diff)
downloadrspamd-5497b1213a5ee69cd25bd8cce26d223e8277ee3a.tar.gz
rspamd-5497b1213a5ee69cd25bd8cce26d223e8277ee3a.zip
* Fix XS module to work with current type of memory allocation
Diffstat (limited to 'perl/Rspamd')
-rw-r--r--perl/Rspamd/Hash.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl/Rspamd/Hash.xs b/perl/Rspamd/Hash.xs
index 5a32fa6a1..abf75ce7e 100644
--- a/perl/Rspamd/Hash.xs
+++ b/perl/Rspamd/Hash.xs
@@ -43,7 +43,7 @@ hash_FETCH (obj, key)
obj->fetchvalue = NULL;
- gret = message_get_header (msg, key);
+ gret = message_get_header (NULL, msg, key);
if (!gret || gret->data == NULL) {
if (gret) {
@@ -150,7 +150,7 @@ hash_EXISTS (obj, key)
GList *gret, *item;
CODE:
msg = obj->objptr;
- gret = message_get_header (msg, key);
+ gret = message_get_header (NULL, msg, key);
RETVAL = (gret != NULL && gret->data != NULL);
if (gret) {
item = gret;