Message-ID insertion bug fix
This commit is contained in:
parent
c8ed17f864
commit
9c7597812b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue