Chromium Code Reviews| Index: courgette/ensemble_apply.cc |
| =================================================================== |
| --- courgette/ensemble_apply.cc (revision 80344) |
| +++ courgette/ensemble_apply.cc (working copy) |
| @@ -396,6 +396,8 @@ |
| SinkStream new_sink_stream; |
| status = ApplyEnsemblePatch(&old_source_stream, &patch_source_stream, |
| &new_sink_stream); |
| + if (status != C_OK) |
| + return status; |
| // Write the patched data to |new_file_name|. |
| FilePath new_file_path(new_file_name); |