1
0
Fork 0

minor fix

This commit is contained in:
bagyenda 2010-11-23 07:11:39 +00:00
parent f65646e1b8
commit 2891e9bb27
2 changed files with 3 additions and 1 deletions

View File

@ -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>
* Minor bug fix, patch from Vincent Chavanis <v.chavanis at telemaque.fr>
2010-11-05 P. A. Bagyenda <bagyenda@dsmagic.com>

View File

@ -1247,7 +1247,7 @@ MSoapMsg_t *mm7_mmsmsg_to_soap(MmsMsg *msg, Octstr *from, List *xto,
http_header_get(l, i, &name, &value);
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_strip_blanks(h);