Index: courgette/third_party/bsdiff/bsdiff_apply.cc |
diff --git a/courgette/third_party/bsdiff/bsdiff_apply.cc b/courgette/third_party/bsdiff/bsdiff_apply.cc |
index 8d43c5d5175856c577d8c07c60f3fea7b7056639..76bb7d0baf6723e6723d6731496402da6fdab1ce 100644 |
--- a/courgette/third_party/bsdiff/bsdiff_apply.cc |
+++ b/courgette/third_party/bsdiff/bsdiff_apply.cc |
@@ -185,9 +185,7 @@ BSDiffStatus ApplyBinaryPatch(SourceStream* old_stream, |
if (CalculateCrc(old_start, old_size) != header.scrc32) |
return CRC_ERROR; |
- MBS_ApplyPatch(&header, patch_stream, old_start, old_size, new_stream); |
- |
- return OK; |
+ return MBS_ApplyPatch(&header, patch_stream, old_start, old_size, new_stream); |
} |
BSDiffStatus ApplyBinaryPatch(base::File old_file, |