From 63fdd411108766e159afc1ad9318c73911c46b3d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 10 Sep 2007 20:19:32 +0000 Subject: [PATCH] UTF-8 decoding bug caused restart of jabber connection on perfectly legal UTF-8 encoded status messages. Thanks to Neil Stratford for hunting down the fix for this bug. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5691 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/iksemel/src/sax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/iksemel/src/sax.c b/libs/iksemel/src/sax.c index ea872c88db..f5e6cf0331 100644 --- a/libs/iksemel/src/sax.c +++ b/libs/iksemel/src/sax.c @@ -231,7 +231,7 @@ sax_core (iksparser *prs, char *buf, int len) } else { return IKS_BADXML; } - if ((c & mask) == 0) return IKS_BADXML; + /* if ((c & mask) == 0) return IKS_BADXML; I AM WRONG */ prs->uni_len = 1; if (stack_old == -1 && (prs->context == C_TAG