diff options
author | Bill Richardson <wfrichar@google.com> | 2019-05-03 14:13:07 -0700 |
---|---|---|
committer | Bill Richardson <wfrichar@google.com> | 2019-05-03 14:13:07 -0700 |
commit | 3fe45ac5f7bac74e695616eb5ceb05130f6573d9 (patch) | |
tree | 0f91d311dedaf85976ee636f64177b733555b032 | |
parent | c03d89d5accdd9dd12c77b88f5bb625e27ba3181 (diff) | |
download | generic-3fe45ac5f7bac74e695616eb5ceb05130f6573d9.tar.gz |
Make citadel_updater --repo request more bytes
We've added some new repos to the manifest, so the returned
string is longer. We must request additional bytes so it isn't
truncated.
Bug: None
Test: manual
Change-Id: I6afbbb6bcf245c909b296b576342310aa9358b2e
Signed-off-by: Bill Richardson <wfrichar@google.com>
-rw-r--r-- | citadel/updater/updater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/citadel/updater/updater.cpp b/citadel/updater/updater.cpp index 9fd370c..ec8fb3f 100644 --- a/citadel/updater/updater.cpp +++ b/citadel/updater/updater.cpp @@ -626,7 +626,7 @@ uint32_t do_repo_snapshot(AppClient &app) { uint32_t retval; std::vector<uint8_t> buffer; - buffer.reserve(1200); + buffer.reserve(2048); retval = app.Call(NUGGET_PARAM_REPO_SNAPSHOT, buffer, &buffer); |