diff options
author | Tao Bao <tbao@google.com> | 2015-10-23 20:45:30 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-10-23 20:45:30 +0200 |
commit | cc9dd3d524755da156ec95ed3a91bcf7966e7e7e (patch) | |
tree | e32c06c5a875989d6e2501a1cccb5c955c9adabd | |
parent | am 78615fa5: Merge "Error correction: Use libfec in blockimg.cpp for recovery" (diff) | |
parent | Merge "updater: Bump up the BBOTA version to 4." (diff) | |
download | android_bootable_recovery-cc9dd3d524755da156ec95ed3a91bcf7966e7e7e.tar android_bootable_recovery-cc9dd3d524755da156ec95ed3a91bcf7966e7e7e.tar.gz android_bootable_recovery-cc9dd3d524755da156ec95ed3a91bcf7966e7e7e.tar.bz2 android_bootable_recovery-cc9dd3d524755da156ec95ed3a91bcf7966e7e7e.tar.lz android_bootable_recovery-cc9dd3d524755da156ec95ed3a91bcf7966e7e7e.tar.xz android_bootable_recovery-cc9dd3d524755da156ec95ed3a91bcf7966e7e7e.tar.zst android_bootable_recovery-cc9dd3d524755da156ec95ed3a91bcf7966e7e7e.zip |
-rw-r--r-- | updater/blockimg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp index 4a813b1d8..dd6cf0d96 100644 --- a/updater/blockimg.cpp +++ b/updater/blockimg.cpp @@ -1374,7 +1374,7 @@ static Value* PerformBlockImageUpdate(const char* name, State* state, int /* arg std::vector<std::string> lines = android::base::Split(transfer_list, "\n"); // First line in transfer list is the version number - if (!android::base::ParseInt(lines[0].c_str(), ¶ms.version, 1, 3)) { + if (!android::base::ParseInt(lines[0].c_str(), ¶ms.version, 1, 4)) { fprintf(stderr, "unexpected transfer list version [%s]\n", lines[0].c_str()); return StringValue(strdup("")); } |