]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
shrug
authorAnthony Minessale <anthony.minessale@gmail.com>
Sun, 26 Oct 2008 00:44:53 +0000 (00:44 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sun, 26 Oct 2008 00:44:53 +0000 (00:44 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10149 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/iksemel/src/iks.c

index 9eb25cca6c95d6146cccfc56f367aae7985374b5..97fc3e2ade2d0ec6ce86959eaea2e2b673b3fd43 100644 (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)));
                                }