mirror of https://github.com/aria2/aria2
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug that file size is ignored if size > INT32_MAX * src/SizeMetalinkParserState.cc (endElement):pull/1/head
parent
a31cd44130
commit
067ef72e5e
|
@ -1,3 +1,8 @@
|
||||||
|
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
|
Fixed the bug that file size is ignored if size > INT32_MAX
|
||||||
|
* src/SizeMetalinkParserState.cc (endElement):
|
||||||
|
|
||||||
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
2008-03-01 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Bump up version number to 0.13.0
|
Bump up version number to 0.13.0
|
||||||
|
|
|
@ -51,7 +51,7 @@ void SizeMetalinkParserState::endElement(MetalinkParserStateMachine* stm,
|
||||||
const std::string& characters)
|
const std::string& characters)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
stm->setFileLengthOfEntry(Util::parseInt(characters));
|
stm->setFileLengthOfEntry(Util::parseLLInt(characters));
|
||||||
} catch(RecoverableException* e) {
|
} catch(RecoverableException* e) {
|
||||||
delete e;
|
delete e;
|
||||||
// current metalink specification doesn't require size element.
|
// current metalink specification doesn't require size element.
|
||||||
|
|
Loading…
Reference in New Issue