git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10149 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-10-26 00:44:53 +00:00
parent f8a882faa1
commit f5e53e443e
1 changed files with 3 additions and 0 deletions

View File

@ -507,6 +507,9 @@ iks_string (ikstack *s, iks *x)
size++;
size += strlen (IKS_TAG_NAME (y));
for (z = IKS_TAG_ATTRIBS (y); z; z = z->next) {
if (z->type == IKS_NONE) {
continue;
}
size += 4 + strlen (IKS_ATTRIB_NAME (z))
+ escape_size (IKS_ATTRIB_VALUE (z), strlen (IKS_ATTRIB_VALUE (z)));
}