aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-07 17:17:02 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-07 17:17:02 +0100
commit2f0242ea7ebfbd3724dd3c066711e5ce4119ceca (patch)
treecf9b24ea2dec9a77438f21ee362a0ecd033f256b /src
parentb1010a85f1c0866910b6d1d3645c345ba58b6dab (diff)
downloadrspamd-2f0242ea7ebfbd3724dd3c066711e5ce4119ceca.tar.gz
rspamd-2f0242ea7ebfbd3724dd3c066711e5ce4119ceca.zip
Fix scan file functional test.
Diffstat (limited to 'src')
-rw-r--r--src/libserver/task.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 907260af2..6dd00b8bf 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -280,6 +280,8 @@ rspamd_task_load_message (struct rspamd_task *task,
}
if (tok) {
+ debug_task ("want to scan file %T", tok);
+
r = rspamd_strlcpy (filepath, tok->begin,
MIN (sizeof (filepath), tok->len + 1));