fixed a format string problem in the parser

This commit is contained in:
SJ 2012-09-26 15:26:30 +02:00
parent ea8051299d
commit 6a642ba287

View File

@ -141,7 +141,7 @@ void post_parse(struct session_data *sdata, struct _state *state, struct __confi
if(state->message_id[0] == 0){
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");
}