summaryrefslogtreecommitdiffstats
path: root/perl
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-27 19:39:01 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-27 19:39:01 +0300
commit182b158dc85acb9a3de38bc11eb09feff991cf11 (patch)
tree952b9cd5c82dfed079bc5b06e0fe170fb6b94a04 /perl
parent89a83f2ef6c2358fe45faac5b15da6344fa7728c (diff)
downloadrspamd-182b158dc85acb9a3de38bc11eb09feff991cf11.tar.gz
rspamd-182b158dc85acb9a3de38bc11eb09feff991cf11.zip
* Fix variables substitution
* Add simple lua interface to access task structures * Improve error reporting for regexp module
Diffstat (limited to 'perl')
-rw-r--r--perl/Rspamd/Task.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Rspamd/Task.xs b/perl/Rspamd/Task.xs
index 31928bf7b..e46a1148c 100644
--- a/perl/Rspamd/Task.xs
+++ b/perl/Rspamd/Task.xs
@@ -73,7 +73,7 @@ rspamd_task_get_urls (task)
struct uri *url;
CODE:
retav = newAV ();
- TAILQ_FOREACH (url, &task.urls, next) {
+ TAILQ_FOREACH (url, &task->urls, next) {
av_push (retav, newSVpv ((char *)g_strdup (struri (url)), 0));
}