fix regression from 6b6c83a718

This commit is contained in:
Brian West 2012-11-13 12:48:59 -06:00
parent b04e4be512
commit f4e55fb187
1 changed files with 1 additions and 1 deletions

View File

@ -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)