diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-03-07 22:33:13 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-03-07 22:33:13 +0100 |
commit | eae42094438def9e1da9fb4cf8cb28b4cee025f5 (patch) | |
tree | 5d451bd6586eb2bfed483cc02f9dc9de49b65cba /twrpTar.cpp | |
parent | Remove size parameter from substr call (diff) | |
download | android_bootable_recovery-eae42094438def9e1da9fb4cf8cb28b4cee025f5.tar android_bootable_recovery-eae42094438def9e1da9fb4cf8cb28b4cee025f5.tar.gz android_bootable_recovery-eae42094438def9e1da9fb4cf8cb28b4cee025f5.tar.bz2 android_bootable_recovery-eae42094438def9e1da9fb4cf8cb28b4cee025f5.tar.lz android_bootable_recovery-eae42094438def9e1da9fb4cf8cb28b4cee025f5.tar.xz android_bootable_recovery-eae42094438def9e1da9fb4cf8cb28b4cee025f5.tar.zst android_bootable_recovery-eae42094438def9e1da9fb4cf8cb28b4cee025f5.zip |
Diffstat (limited to '')
-rw-r--r-- | twrpTar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/twrpTar.cpp b/twrpTar.cpp index cc09b78ab..a31fe1221 100644 --- a/twrpTar.cpp +++ b/twrpTar.cpp @@ -621,7 +621,7 @@ int twrpTar::tarList(std::vector<TarListStruct> *TarList, unsigned thread_id) { void* twrpTar::createList(void *cookie) { twrpTar* threadTar = (twrpTar*) cookie; - if (threadTar->tarList(threadTar->ItemList, threadTar->thread_id) == -1) { + if (threadTar->tarList(threadTar->ItemList, threadTar->thread_id) != 0) { LOGINFO("ERROR tarList for thread ID %i\n", threadTar->thread_id); return (void*)-2; } |