mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 19:30:12 +01:00
ttmpfile name fix
Change-Id: I51af73005423177055fac2c41f1c2588ea2e20de Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
parent
e6e83a1635
commit
4e5ded4da9
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user