loolwsd/LOOLTool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b5e37448a8e3a8af54b9fd1f602542b84a0fd1a5 Author: Michael Meeks <[email protected]> Date: Fri Apr 15 13:55:34 2016 +0100 looltool: get argument array copyies right. diff --git a/loolwsd/LOOLTool.cpp b/loolwsd/LOOLTool.cpp index e2d8b4f..ffde699 100644 --- a/loolwsd/LOOLTool.cpp +++ b/loolwsd/LOOLTool.cpp @@ -239,7 +239,7 @@ int Tool::main(const std::vector<std::string>& args) if (toCopy > 0) { std::vector< std::string > files( toCopy ); - std::copy( args.begin() + offset, args.begin() + offset + chunk, files.begin() ); + std::copy( args.begin() + offset, args.begin() + offset + toCopy, files.begin() ); offset += toCopy; clients[i]->start(*(new Worker(*this, files))); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
