summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-03-18 15:57:29 +0100
committerGerrit Code Review <gerrit@5.9.244.119>2013-03-18 15:57:29 +0100
commit7289a181d86563670b899ebb36d65f81be57bc93 (patch)
treeba44f18a8dc71b4efc0a22ea3c14a03e3ba80cfa /partitionmanager.cpp
parentFix backup of initial directory with split archives (diff)
parenttrying to fix md5 (diff)
downloadandroid_bootable_recovery-7289a181d86563670b899ebb36d65f81be57bc93.tar
android_bootable_recovery-7289a181d86563670b899ebb36d65f81be57bc93.tar.gz
android_bootable_recovery-7289a181d86563670b899ebb36d65f81be57bc93.tar.bz2
android_bootable_recovery-7289a181d86563670b899ebb36d65f81be57bc93.tar.lz
android_bootable_recovery-7289a181d86563670b899ebb36d65f81be57bc93.tar.xz
android_bootable_recovery-7289a181d86563670b899ebb36d65f81be57bc93.tar.zst
android_bootable_recovery-7289a181d86563670b899ebb36d65f81be57bc93.zip
Diffstat (limited to 'partitionmanager.cpp')
-rw-r--r--partitionmanager.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 9beb2575f..4364a2252 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -501,12 +501,8 @@ bool TWPartitionManager::Make_MD5(bool generate_md5, string Backup_Folder, strin
string strfn;
sprintf(filename, "%s%03i", Full_File.c_str(), index);
strfn = filename;
- ostringstream intToStr;
- ostringstream fn;
while (TWFunc::Path_Exists(filename) == true) {
- intToStr << index;
- fn << setw(3) << setfill('0') << intToStr.str();
- md5sum.setfn(strfn);
+ md5sum.setfn(filename);
if (md5sum.computeMD5() == 0) {
if (md5sum.write_md5digest() != 0)
{