1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-15 16:14:49 +02: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.