summaryrefslogtreecommitdiffstats
path: root/adbbu/libtwadbbu.cpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2017-12-29 01:58:52 +0100
committerDees Troy <dees_troy@teamw.in>2018-05-25 18:42:16 +0200
commit38b83c1da45f0b4a7d166bee73dc7701794874c3 (patch)
treee02e655d5c8ff151d23a515e65ac201772088d12 /adbbu/libtwadbbu.cpp
parentpartitionmanager: signal when Mount_To_Decrypt partitions are mounted (diff)
downloadandroid_bootable_recovery-38b83c1da45f0b4a7d166bee73dc7701794874c3.tar
android_bootable_recovery-38b83c1da45f0b4a7d166bee73dc7701794874c3.tar.gz
android_bootable_recovery-38b83c1da45f0b4a7d166bee73dc7701794874c3.tar.bz2
android_bootable_recovery-38b83c1da45f0b4a7d166bee73dc7701794874c3.tar.lz
android_bootable_recovery-38b83c1da45f0b4a7d166bee73dc7701794874c3.tar.xz
android_bootable_recovery-38b83c1da45f0b4a7d166bee73dc7701794874c3.tar.zst
android_bootable_recovery-38b83c1da45f0b4a7d166bee73dc7701794874c3.zip
Diffstat (limited to '')
-rw-r--r--adbbu/libtwadbbu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/adbbu/libtwadbbu.cpp b/adbbu/libtwadbbu.cpp
index 64e688c37..39803b0ce 100644
--- a/adbbu/libtwadbbu.cpp
+++ b/adbbu/libtwadbbu.cpp
@@ -75,7 +75,7 @@ std::vector<std::string> twadbbu::Get_ADB_Backup_Files(std::string fname) {
return std::vector<std::string>();
}
- while (1) {
+ while (true) {
std::string cmdstr;
int readbytes;
if ((readbytes = read(fd, &buf, sizeof(buf))) > 0) {