From 028ee95365f86bcee1b18e1576346737ce8b5c6d Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 26 Oct 2016 22:33:29 +0200 Subject: [PATCH] import fix Change-Id: Idbbf7f8204d52710d58f4fc23139c3dbf7b339c6 Signed-off-by: SJ --- src/piler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/piler.c b/src/piler.c index 38ea53a6..b3cb7c0c 100644 --- a/src/piler.c +++ b/src/piler.c @@ -118,6 +118,8 @@ int process_email(char *filename, struct session_data *sdata, struct __data *dat sdata->tot_len = size; + snprintf(sdata->filename, SMALLBUFSIZE-1, "%s", filename); + /*if(data->import->extra_recipient){ snprintf(sdata->rcptto[0], SMALLBUFSIZE-1, "%s", data->import->extra_recipient); sdata->num_of_rcpt_to = 1;