minor fix
This commit is contained in:
parent
f65646e1b8
commit
2891e9bb27
|
@ -1,3 +1,5 @@
|
||||||
|
2010-11-23 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||||
|
* Minor fix in handling of extra mm7 headers
|
||||||
2010-11-16 P. A. Bagyenda <bagyenda@dsmagic.com>
|
2010-11-16 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||||
* Minor bug fix, patch from Vincent Chavanis <v.chavanis at telemaque.fr>
|
* Minor bug fix, patch from Vincent Chavanis <v.chavanis at telemaque.fr>
|
||||||
2010-11-05 P. A. Bagyenda <bagyenda@dsmagic.com>
|
2010-11-05 P. A. Bagyenda <bagyenda@dsmagic.com>
|
||||||
|
|
|
@ -1247,7 +1247,7 @@ MSoapMsg_t *mm7_mmsmsg_to_soap(MmsMsg *msg, Octstr *from, List *xto,
|
||||||
http_header_get(l, i, &name, &value);
|
http_header_get(l, i, &name, &value);
|
||||||
|
|
||||||
if (value && (j = octstr_search_char(value, ':', 0)) > 0) {
|
if (value && (j = octstr_search_char(value, ':', 0)) > 0) {
|
||||||
Octstr *h = octstr_copy(value, 0, j - 1);
|
Octstr *h = octstr_copy(value, 0, j);
|
||||||
Octstr *v = octstr_copy(value, j+1, octstr_len(value));
|
Octstr *v = octstr_copy(value, j+1, octstr_len(value));
|
||||||
|
|
||||||
octstr_strip_blanks(h);
|
octstr_strip_blanks(h);
|
||||||
|
|
Loading…
Reference in New Issue