[Libreoffice-commits] online.git: common/Session.cpp wsd/Exceptions.hpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Mon May 15 03:15:14 UTC 2017
common/Session.cpp | 4 ++--
wsd/Exceptions.hpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 47c01440ba794d2ea953d6ac1b80f7e42769f4e6
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Sun May 14 22:59:58 2017 -0400
wsd: logs
Change-Id: I286c4c7415b114f51f3258bd6d50f8e103ea6c75
Reviewed-on: https://gerrit.libreoffice.org/37611
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/common/Session.cpp b/common/Session.cpp
index 69696fb3..d8756689 100644
--- a/common/Session.cpp
+++ b/common/Session.cpp
@@ -64,13 +64,13 @@ Session::~Session()
bool Session::sendTextFrame(const char* buffer, const int length)
{
- LOG_TRC(getName() << ": Send: " << getAbbreviatedMessage(buffer, length));
+ LOG_TRC(getName() << ": Send: [" << getAbbreviatedMessage(buffer, length) << "].");
return sendMessage(buffer, length, WSOpCode::Text) >= length;
}
bool Session::sendBinaryFrame(const char *buffer, int length)
{
- LOG_TRC(getName() << ": Send: " << std::to_string(length) << " bytes.");
+ LOG_TRC(getName() << ": Send: " << std::to_string(length) << " binary bytes.");
return sendMessage(buffer, length, WSOpCode::Binary) >= length;
}
diff --git a/wsd/Exceptions.hpp b/wsd/Exceptions.hpp
index 11c9de59..2c4905a6 100644
--- a/wsd/Exceptions.hpp
+++ b/wsd/Exceptions.hpp
@@ -50,7 +50,7 @@ public:
using BadRequestException::BadRequestException;
};
-/// An authorization exception that is means to signify,
+/// An authorization exception that is meant to signify,
/// and translate into, an HTTP unauthorized error.
class UnauthorizedRequestException : public LoolException
{
More information about the Libreoffice-commits
mailing list