[Freeswitch-svn] [commit] r10149 - freeswitch/trunk/libs/iksemel/src

Freeswitch SVN anthm at freeswitch.org
Sat Oct 25 20:44:53 EDT 2008


Author: anthm
Date: Sat Oct 25 20:44:53 2008
New Revision: 10149

Modified:
   freeswitch/trunk/libs/iksemel/src/iks.c

Log:
shrug

Modified: freeswitch/trunk/libs/iksemel/src/iks.c
==============================================================================
--- freeswitch/trunk/libs/iksemel/src/iks.c	(original)
+++ freeswitch/trunk/libs/iksemel/src/iks.c	Sat Oct 25 20:44:53 2008
@@ -507,6 +507,9 @@
 				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)));
 				}



More information about the Freeswitch-svn mailing list