Commit 2f1f8c4e authored by huni's avatar huni

A small correction for the JM-1438 fix.

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