mirror of https://github.com/aria2/aria2
2007-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* src/Xml2MetalinkProcessor.cc (getPieceHash): Added missing .c_str().pull/1/head
parent
834625364f
commit
674a077bff
|
@ -1,3 +1,7 @@
|
|||
2007-08-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
* src/Xml2MetalinkProcessor.cc (getPieceHash): Added missing .c_str().
|
||||
|
||||
2007-08-18 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Avoid sparse files if possible, because VFAT32 doesn't support it.
|
||||
|
|
5
TODO
5
TODO
|
@ -38,3 +38,8 @@
|
|||
* time related headers and compatible macros and definition -> a2time.h
|
||||
* used globally -> common.h
|
||||
|
||||
* Rewrite MetaFileUtil
|
||||
* Add parameterized URI support
|
||||
* Add pgp verification support. I have to use libgpgme??
|
||||
* Add outfile auto renaming
|
||||
* Disable segmented download in .metalink
|
||||
|
|
|
@ -187,7 +187,7 @@ ChunkChecksumHandle Xml2MetalinkProcessor::getPieceHash(const string& xpath,
|
|||
for(uint64_t i = 0; i < numPiece; ++i) {
|
||||
string pieceHash = Util::trim(xpathContent(xpath+"/m:hash[@piece=\""+Util::ullitos(i)+"\"]"));
|
||||
if(pieceHash == "") {
|
||||
throw new DlAbortEx("Piece hash missing. index=%s", Util::ullitos(i));
|
||||
throw new DlAbortEx("Piece hash missing. index=%s", Util::ullitos(i).c_str());
|
||||
}
|
||||
checksums.push_back(pieceHash);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue