commit | ff5935f7ef0ca40b5e7c5263a85a05a876fe88a2 | [log] [tgz] |
---|---|---|
author | Captain Throwback <captainthrowback@hotmail.com> | Tue Sep 23 16:08:34 2014 -0400 |
committer | Dees Troy <dees_troy@teamw.in> | Wed Oct 08 18:22:08 2014 +0200 |
tree | 9b1ae21ece5c2dd47115bc07d5fa1b113ec60288 | |
parent | d9201048c487ff528cd1e73583d5105cfa651aab [diff] |
Attempt to fix md5 issue with backups thanks @bigbiff for the suggestion Change-Id: Ie9b55537b7fa300461b015d2b9523d4250e755a9
diff --git a/partition.cpp b/partition.cpp index 00f84a1..31a3f8f 100644 --- a/partition.cpp +++ b/partition.cpp
@@ -1327,6 +1327,8 @@ int index = 0; twrpDigest md5sum; + sync(); + memset(split_filename, 0, sizeof(split_filename)); Full_Filename = restore_folder + "/" + Backup_FileName; if (!TWFunc::Path_Exists(Full_Filename)) {