mirror of https://github.com/aria2/aria2
2010-09-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use const ref * src/MultiUrlRequestInfo.ccpull/1/head
parent
32e1aa1b59
commit
c51815dd52
|
@ -1,3 +1,8 @@
|
|||
2010-09-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Use const ref
|
||||
* src/MultiUrlRequestInfo.cc
|
||||
|
||||
2010-09-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Fixed the bug that aria2 reports error and exits with non-zero
|
||||
|
|
|
@ -195,7 +195,7 @@ downloadresultcode::RESULT MultiUrlRequestInfo::execute()
|
|||
e->getCookieStorage()->saveNsFormat(option_->get(PREF_SAVE_COOKIES));
|
||||
}
|
||||
|
||||
std::string serverStatOf = option_->get(PREF_SERVER_STAT_OF);
|
||||
const std::string& serverStatOf = option_->get(PREF_SERVER_STAT_OF);
|
||||
if(!serverStatOf.empty()) {
|
||||
e->getRequestGroupMan()->saveServerStat(serverStatOf);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue