mirror of https://github.com/aria2/aria2
2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* src/BtRequestMessage.cc (BtRequestMessage::onQueue): Given piece to RequestSlot. This is a fix for segmentation fault caused by previous commit.pull/1/head
parent
1d7b5e6f4a
commit
405c46277f
|
@ -1,3 +1,9 @@
|
|||
2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
* src/BtRequestMessage.cc
|
||||
(BtRequestMessage::onQueue): Given piece to RequestSlot. This is a fix
|
||||
for segmentation fault caused by previous commit.
|
||||
|
||||
2008-05-31 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Reduced the usage of gettimeofday().
|
||||
|
|
|
@ -114,7 +114,7 @@ std::string BtRequestMessage::toString() const {
|
|||
}
|
||||
|
||||
void BtRequestMessage::onQueued() {
|
||||
RequestSlot requestSlot(index, begin, length, blockIndex);
|
||||
RequestSlot requestSlot(index, begin, length, blockIndex, pieceStorage->getPiece(index));
|
||||
dispatcher->addOutstandingRequest(requestSlot);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue