summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/bspatch/mbspatch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/bspatch/mbspatch.cc')
-rw-r--r--chromium/third_party/bspatch/mbspatch.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/bspatch/mbspatch.cc b/chromium/third_party/bspatch/mbspatch.cc
index 164cc3caed0..d00bc99d129 100644
--- a/chromium/third_party/bspatch/mbspatch.cc
+++ b/chromium/third_party/bspatch/mbspatch.cc
@@ -86,7 +86,7 @@ MBS_ReadHeader(int fd, MBSPatchHeader *header)
return OK;
}
-
+
int
MBS_ApplyPatch(const MBSPatchHeader *header, int patchfd,
unsigned char *fbuffer, int filefd)
@@ -263,7 +263,7 @@ int ApplyBinaryPatch(const wchar_t *old_file, const wchar_t *patch_file,
break;
}
- MBS_ApplyPatch(&header, pfd, buf, nfd);
+ ret = MBS_ApplyPatch(&header, pfd, buf, nfd);
} while (0);
free(buf);