Fixed the bug that a remote metalink is not processed even if

'-o foo.metalink' is specified.
	* src/MetalinkRequestInfo.cc
This commit is contained in:
Tatsuhiro Tsujikawa 2007-08-08 16:01:58 +00:00
parent a3afa89941
commit a405d0238e
3 changed files with 6 additions and 1 deletions

View File

@ -68,6 +68,10 @@
Applied Ross's patch
* src/a2netcompat.h
* src/main.cc
Fixed the bug that prevents a remote metalink from not being processed
even if '-o foo.metalink' is specified.
* src/MetalinkRequestInfo.cc
2007-08-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

1
TODO
View File

@ -39,4 +39,3 @@
* used globally -> common.h
* replace threw with thrown
* fix the bug that causes a remote metalink fails.

View File

@ -163,6 +163,8 @@ RequestInfos MetalinkRequestInfo::execute() {
#endif // ENABLE_MESSAGE_DIGEST
groups.push_front(rg);
}
// clear PREF_OUT, because PREF_OUT is a filename for metalink file itself.
op->put(PREF_OUT, "");
MultiUrlRequestInfoHandle reqInfo = new MultiUrlRequestInfo(groups, op);
nextReqInfos.push_back(reqInfo);
} catch(RecoverableException* ex) {