fix regression from 6b6c83a718
This commit is contained in:
parent
b04e4be512
commit
f4e55fb187
|
@ -2458,7 +2458,7 @@ static char *switch_xml_toxml_r(switch_xml_t xml, char **s, switch_size_t *len,
|
|||
*len += sprintf(*s + *len, "%s", XML_INDENT); /* indent */
|
||||
}
|
||||
}
|
||||
*len += sprintf(*s + (*len), "</%s>", xml->name); /* close tag */
|
||||
*len += sprintf(*s + (*len), "</%s>\n", xml->name); /* close tag */
|
||||
}
|
||||
|
||||
while (txt[off] && off < xml->off)
|
||||
|
|
Loading…
Reference in New Issue