diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2015-02-20 17:37:32 +0100 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2015-02-20 17:50:54 +0100 |
commit | e98281afb7d9cf7429339c2aaa45f80fc0ce1584 (patch) | |
tree | b493bb623e7bbca0585a8ce7f4d72a88f4fd4626 | |
parent | New signed codeless kext (diff) | |
download | Heimdall-e98281afb7d9cf7429339c2aaa45f80fc0ce1584.tar Heimdall-e98281afb7d9cf7429339c2aaa45f80fc0ce1584.tar.gz Heimdall-e98281afb7d9cf7429339c2aaa45f80fc0ce1584.tar.bz2 Heimdall-e98281afb7d9cf7429339c2aaa45f80fc0ce1584.tar.lz Heimdall-e98281afb7d9cf7429339c2aaa45f80fc0ce1584.tar.xz Heimdall-e98281afb7d9cf7429339c2aaa45f80fc0ce1584.tar.zst Heimdall-e98281afb7d9cf7429339c2aaa45f80fc0ce1584.zip |
Diffstat (limited to '')
-rw-r--r-- | heimdall/source/BridgeManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/heimdall/source/BridgeManager.cpp b/heimdall/source/BridgeManager.cpp index 8fb678c..1065795 100644 --- a/heimdall/source/BridgeManager.cpp +++ b/heimdall/source/BridgeManager.cpp @@ -931,8 +931,8 @@ int BridgeManager::ReceivePitFile(unsigned char **pitBuffer) const int receiveEmptyTransferFlags = (i == transferCount - 1) ? kEmptyTransferAfter : kEmptyTransferNone; ReceiveFilePartPacket *receiveFilePartPacket = new ReceiveFilePartPacket(); - success = ReceivePacket(receiveFilePartPacket, receiveEmptyTransferFlags); - + success = ReceivePacket(receiveFilePartPacket, kDefaultTimeoutReceive, receiveEmptyTransferFlags); + if (!success) { Interface::PrintError("Failed to receive PIT file part #%d!\n", i); |