loolwsd/LOOLSession.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 2e6bb943957aa6b8d2e916343bcaf01dea112480 Author: Jan Holesovsky <ke...@collabora.com> Date: Tue Aug 11 18:31:50 2015 +0200 More consistent error report. diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp index ecf65e9..d5282df 100644 --- a/loolwsd/LOOLSession.cpp +++ b/loolwsd/LOOLSession.cpp @@ -381,7 +381,7 @@ bool MasterProcessSession::loadDocument(const char *buffer, int length, StringTo } catch(Poco::SyntaxException&) { - sendTextFrame("error: cmd=load kind=URI invalid syntax"); + sendTextFrame("error: cmd=load kind=uriinvalid"); return false; } @@ -771,13 +771,13 @@ bool ChildProcessSession::loadDocument(const char *buffer, int length, StringTok } catch(Poco::SyntaxException&) { - sendTextFrame("error: cmd=load kind=URI invalid syntax"); + sendTextFrame("error: cmd=load kind=uriinvalid"); return false; } if (aUri.empty()) { - sendTextFrame("error: cmd=load kind=URI empty"); + sendTextFrame("error: cmd=load kind=uriempty"); return false; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits