From f5e53e443e05c501dc6d91e05e7fb781ea6c5530 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sun, 26 Oct 2008 00:44:53 +0000 Subject: [PATCH] shrug git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10149 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/iksemel/src/iks.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/iksemel/src/iks.c b/libs/iksemel/src/iks.c index 9eb25cca6c..97fc3e2ade 100644 --- a/libs/iksemel/src/iks.c +++ b/libs/iksemel/src/iks.c @@ -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))); }