Fix PostMessageOrigin typo in log

Change-Id: I3d41c832561f9de1b46ef1444d8d0b1d633c7b63
Reviewed-on: https://gerrit.libreoffice.org/68249
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit 9bc70150c856e8d671ade99e1d2024a8f0f45d9d)
Reviewed-on: https://gerrit.libreoffice.org/68390
This commit is contained in:
Ashod Nakashian 2019-02-13 17:42:05 -05:00 committed by Szymon Kłos
parent 76058ac270
commit 406a7dd59e

View file

@ -208,6 +208,7 @@ void DocumentBroker::pollThread()
std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::steady_clock::now() -
_threadStart).count() > timeoutMs)
break;
// Nominal time between retries, lest we busy-loop. getNewChild could also wait, so don't double that here.
std::this_thread::sleep_for(std::chrono::milliseconds(CHILD_REBALANCE_INTERVAL_MS / 10));
}
@ -489,7 +490,6 @@ bool DocumentBroker::load(const std::shared_ptr<ClientSession>& session, const s
#if !MOBILEAPP
std::chrono::duration<double> getInfoCallDuration(0);
WopiStorage* wopiStorage = dynamic_cast<WopiStorage*>(_storage.get());
if (wopiStorage != nullptr)
{
@ -515,7 +515,7 @@ bool DocumentBroker::load(const std::shared_ptr<ClientSession>& session, const s
(LOOLWSD::isSSLEnabled() || LOOLWSD::isSSLTermination()))
{
wopifileinfo->getPostMessageOrigin().replace(0, 4, "https");
LOG_DBG("Updating PostMessageOrgin scheme to HTTPS. Updated origin is [" << wopifileinfo->getPostMessageOrigin() << "].");
LOG_DBG("Updating PostMessageOrigin scheme to HTTPS. Updated origin is [" << wopifileinfo->getPostMessageOrigin() << "].");
}
wopiInfo->set("PostMessageOrigin", wopifileinfo->getPostMessageOrigin());