Commit afb8c710 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Return the document if a </stream> is received. JM-327


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1620 b35dd754-fafc-0310-a699-88a17e54d16e
parent cae57a49
...@@ -350,7 +350,7 @@ public class XPPPacketReader { ...@@ -350,7 +350,7 @@ public class XPPPacketReader {
parent = parent.getParent(); parent = parent.getParent();
} }
count--; count--;
if (count == 0) { if (count < 1) {
return document; return document;
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment