summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-12 01:25:37 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-12 09:51:16 +0200
commit9d186e5b0843fc90d587d2bf8199f71f12ab7829 (patch)
tree406e01d11b3e77048288b8737345f5d4e4c902cd /desktop
parent476cc2085ff1cecb47639052750034fc49af3fcc (diff)
make it easier to extend the response
Change-Id: I95d60fe38bbb16c502eccaae3bc25a35dd269d1a Reviewed-on: https://gerrit.libreoffice.org/38682 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/updater.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index 118c3981815f..e9d9997ed3a4 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -338,7 +338,7 @@ update_file parse_update_file(const orcus::json::detail::node& rNode)
throw invalid_update_info();
}
- if (rNode.child_count() != 4)
+ if (rNode.child_count() < 4)
{
SAL_WARN("desktop.update", "invalid update or language file entry");
throw invalid_update_info();