ttmpfile name fix

Change-Id: I51af73005423177055fac2c41f1c2588ea2e20de
Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
SJ 2016-10-28 20:17:36 +02:00
parent e6e83a1635
commit 4e5ded4da9

View File

@ -105,6 +105,7 @@ int process_email(char *filename, struct session_data *sdata, struct __data *dat
sdata->tot_len = size; sdata->tot_len = size;
snprintf(sdata->filename, SMALLBUFSIZE-1, "%s", filename); snprintf(sdata->filename, SMALLBUFSIZE-1, "%s", filename);
snprintf(sdata->ttmpfile, SMALLBUFSIZE-1, "%s", filename);
parser_state = parse_message(sdata, 1, data, cfg); parser_state = parse_message(sdata, 1, data, cfg);
post_parse(sdata, &parser_state, cfg); post_parse(sdata, &parser_state, cfg);