1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-27 00:32:07 +01:00

Fixed freezing when parsing error. SMACK-166

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@5061 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2006-08-25 20:18:54 +00:00 committed by gato
parent 157a1e9659
commit c13766569e

View file

@ -314,9 +314,7 @@ public class PacketParserUtils {
int eventType = parser.next();
if (eventType == XmlPullParser.START_TAG) {
if (parser.getName().equals("text")) {
parser.next();
message = parser.getText();
parser.next();
message = parser.nextText();
}
else {
// Condition tag, it can be xmpp error or an application defined error.