loolwsd/LOOLKit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit ab1a3a147ead52683451b797776df72181ba8ad4 Author: Henry Castro <[email protected]> Date: Thu Jan 7 23:43:09 2016 -0400 loolwsd: not necessary to find session Every lokit instances has a unique URL, that could contain multiple views. diff --git a/loolwsd/LOOLKit.cpp b/loolwsd/LOOLKit.cpp index 8ac56d3..2029c7c 100644 --- a/loolwsd/LOOLKit.cpp +++ b/loolwsd/LOOLKit.cpp @@ -739,8 +739,9 @@ void lokit_main(const std::string &loSubPath, const std::string& jailId, const s } else { - const auto& it = _documents.find(tokens[1]); + const auto& it = _documents.begin(); aResponse += (it != _documents.end() ? "ok \r\n" : "no \r\n"); + // TODO. it exists just one instance Document } } else if (tokens[0] == "thread") _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
