[Libreoffice-commits] online.git: loolwsd/PrisonerSession.cpp
Tor Lillqvist
tml at collabora.com
Wed Oct 12 09:27:56 UTC 2016
loolwsd/PrisonerSession.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 55e6a766393d4e5568f6701692ff38fbd4553183
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Oct 10 17:14:06 2016 +0300
If saving fails, tell it to the user VERY VISIBLY
diff --git a/loolwsd/PrisonerSession.cpp b/loolwsd/PrisonerSession.cpp
index ccedaec..2f08f63 100644
--- a/loolwsd/PrisonerSession.cpp
+++ b/loolwsd/PrisonerSession.cpp
@@ -86,7 +86,8 @@ bool PrisonerSession::_handleInput(const char *buffer, int length)
result = resultObj->get("value").toString();
}
- _docBroker->save(success, result);
+ if (!_docBroker->save(success, result))
+ peer->sendTextFrame("error: cmd=internal kind=diskfull");
return true;
}
}
More information about the Libreoffice-commits
mailing list