summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-03-20 18:04:29 +0100
committerAndras Timar <andras.timar@collabora.com>2020-03-20 22:06:32 +0100
commitcfda0aa120a6e1908d60457f611753d1c50aa6bb (patch)
tree5e0ca9db013b770fb48ad01ce55d75fed416cac5
parentf12bc67aac29e9e1ed251b6318b6b887a69b7d56 (diff)
Fix --with-support-public-key=... build
Change-Id: I4a1ecc16d7b862dae61c80d98d07c0e105c13819 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90829 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit d26aa30cab3335df110110d86fa42750529e9b98) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90816
-rw-r--r--wsd/LOOLWSD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 177360dbc..aa6b9766b 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -244,7 +244,7 @@ inline void shutdownLimitReached(const std::shared_ptr<ProtocolHandlerInterface>
try
{
// Let the client know we are shutting down.
- proto->sendTextMessage(error);
+ proto->sendTextMessage(error.data(), error.size());
// Shutdown.
proto->shutdown(true, error);