Commit 222e6a59 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

A small correction for the JM-1438 fix

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@10708 b35dd754-fafc-0310-a699-88a17e54d16e
parent aaa67c91
......@@ -246,7 +246,7 @@ public class HttpBindServlet extends HttpServlet {
session.close();
respond(session, response, createEmptyBody(), request.getMethod());
}
else if ("true".equals(restartStream) && rootNode.nodeCount() == 0) {
else if ("true".equals(restartStream) && rootNode.elements().size() == 0) {
try {
respond(session, response, createSessionRestartResponse(session), request.getMethod());
}
......
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