mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 02:11:59 +01:00
fixed a format string problem in the parser
This commit is contained in:
parent
ea8051299d
commit
6a642ba287
@ -141,7 +141,7 @@ void post_parse(struct session_data *sdata, struct _state *state, struct __confi
|
|||||||
|
|
||||||
if(state->message_id[0] == 0){
|
if(state->message_id[0] == 0){
|
||||||
if(cfg->archive_emails_not_having_message_id == 1)
|
if(cfg->archive_emails_not_having_message_id == 1)
|
||||||
snprintf(state->message_id, SMALLBUFSIZE-1, sdata->ttmpfile);
|
snprintf(state->message_id, SMALLBUFSIZE-1, "%s", sdata->ttmpfile);
|
||||||
else snprintf(state->message_id, SMALLBUFSIZE-1, "null");
|
else snprintf(state->message_id, SMALLBUFSIZE-1, "null");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user