From 4e5ded4da9f126785d4cee960e19948c6152e63d Mon Sep 17 00:00:00 2001 From: SJ Date: Fri, 28 Oct 2016 20:17:36 +0200 Subject: [PATCH] ttmpfile name fix Change-Id: I51af73005423177055fac2c41f1c2588ea2e20de Signed-off-by: SJ --- src/piler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/piler.c b/src/piler.c index 638d5e41..5ac97e07 100644 --- a/src/piler.c +++ b/src/piler.c @@ -105,6 +105,7 @@ int process_email(char *filename, struct session_data *sdata, struct __data *dat sdata->tot_len = size; snprintf(sdata->filename, SMALLBUFSIZE-1, "%s", filename); + snprintf(sdata->ttmpfile, SMALLBUFSIZE-1, "%s", filename); parser_state = parse_message(sdata, 1, data, cfg); post_parse(sdata, &parser_state, cfg);