diff options
Diffstat (limited to 'perl/Rspamd/Hash.xs')
-rw-r--r-- | perl/Rspamd/Hash.xs | 4 |
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; |