wsd/Storage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit aed840ea04ce2e7ae120698f50e78268b542db12 Author: Pranav Kant <pran...@collabora.co.uk> Date: Fri May 19 21:04:03 2017 +0530 Didn't mean to truncate this string literal Otherwise getStatus() returns an integer which increments the char* Change-Id: I189addb60a02de14085b1501c75362b13dcb3ae2 diff --git a/wsd/Storage.cpp b/wsd/Storage.cpp index e259836b..6e8c1dff 100644 --- a/wsd/Storage.cpp +++ b/wsd/Storage.cpp @@ -464,7 +464,7 @@ std::unique_ptr<WopiStorage::WOPIFileInfo> WopiStorage::getWOPIFileInfo(const st if (response.getStatus() != Poco::Net::HTTPResponse::HTTP_OK) { - LOG_ERR("WOPI::CheckFileInfo failed with " + response.getStatus() + response.getReason()); + LOG_ERR("WOPI::CheckFileInfo failed with " << response.getStatus() << ' ' << response.getReason()); throw StorageConnectionException("WOPI::CheckFileInfo failed"); } @@ -590,7 +590,7 @@ std::string WopiStorage::loadStorageFileToLocal(const std::string& accessToken) if (response.getStatus() != Poco::Net::HTTPResponse::HTTP_OK) { - LOG_ERR("WOPI::GetFile failed with " + response.getStatus() + response.getReason()); + LOG_ERR("WOPI::GetFile failed with " << response.getStatus() << ' ' << response.getReason()); throw StorageConnectionException("WOPI::GetFile failed"); } else // Successful _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits