1
0
Fork 0

Message-ID insertion bug fix

This commit is contained in:
bagyenda 2005-10-21 12:37:15 +00:00
parent c8ed17f864
commit 9c7597812b
1 changed files with 2 additions and 1 deletions

View File

@ -1007,12 +1007,13 @@ static int fixup_msg(MmsMsg *m, Octstr *from)
} else
octstr_destroy(s);
#if 0 /* This will be done elsewhere. */
/* Check for msgid, put in if missing. */
if ((s = http_header_value(m->headers, octstr_imm("Message-ID"))) == NULL)
http_header_add(m->headers, "Message-ID", "00000");
else
octstr_destroy(s);
#endif
/* check for content-type. */
if ((s = http_header_value(m->headers, octstr_imm("Content-Type"))) == NULL) {
char *ctype;