bug fix in mime lib
This commit is contained in:
parent
c58cfafec5
commit
2bee4e49db
|
@ -1,3 +1,5 @@
|
||||||
|
2007-11-27 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||||
|
* Bug fix in mime convertor module
|
||||||
2007-11-07 P. A. Bagyenda <bagyenda@dsmagic.com>
|
2007-11-07 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||||
* Added reroute-add-sender-to-subject config param for MMSBox
|
* Added reroute-add-sender-to-subject config param for MMSBox
|
||||||
2007-09-25 P. A. Bagyenda <bagyenda@dsmagic.com>
|
2007-09-25 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||||
|
|
|
@ -405,9 +405,11 @@ void unbase64_mimeparts(MIMEEntity *m)
|
||||||
if (ctype && te &&
|
if (ctype && te &&
|
||||||
octstr_case_compare(te,octstr_imm("base64")) == 0) {
|
octstr_case_compare(te,octstr_imm("base64")) == 0) {
|
||||||
Octstr *s = mime_entity_body(m);
|
Octstr *s = mime_entity_body(m);
|
||||||
octstr_base64_to_binary(s);
|
if (s) {
|
||||||
mime_entity_set_body(m, s);
|
octstr_base64_to_binary(s);
|
||||||
octstr_destroy(s);
|
mime_entity_set_body(m, s);
|
||||||
|
octstr_destroy(s);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
http_header_remove_all(headers, "Content-Transfer-Encoding"); /* Remove it in all cases (?).*/
|
http_header_remove_all(headers, "Content-Transfer-Encoding"); /* Remove it in all cases (?).*/
|
||||||
mime_replace_headers(m, headers);
|
mime_replace_headers(m, headers);
|
||||||
|
|
Loading…
Reference in New Issue