[Bug 30042] XmppReader treats nodes containing only whitespace as empty nodes.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 3 14:28:01 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=30042

--- Comment #4 from Will Thompson <will.thompson at collabora.co.uk> 2011-03-03 05:28:01 PST ---
ARGAHAGHAGHAGHAGHAGH  RGAHGHAGHGHR GRAGHAGHAGHR

_end_element_ns:


  if (priv->node && priv->node->content)
    {
      /* Remove content if it's purely whitespace */
      const char *c;
      for (c = priv->node->content; *c != '\0' && g_ascii_isspace (*c); c++)
        ;
      if (*c == '\0')
        wocky_node_set_content (priv->node, NULL);
    }

RGHghghgh

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list