mirror of https://github.com/aria2/aria2
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Code cleanup * src/XmlRpcMethod.ccpull/1/head
parent
2ba1992905
commit
6c6e7f2c51
|
@ -1,3 +1,8 @@
|
|||
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Code cleanup
|
||||
* src/XmlRpcMethod.cc
|
||||
|
||||
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Documented about followedBy and belongsTo in man page.
|
||||
|
|
|
@ -84,7 +84,7 @@ static void gatherOption
|
|||
{
|
||||
for(; first != last; ++first) {
|
||||
const std::string& optionName = (*first).first;
|
||||
if(changeableOptions.find(optionName) == changeableOptions.end()) {
|
||||
if(changeableOptions.count(optionName) == 0) {
|
||||
throw DL_ABORT_EX
|
||||
(StringFormat
|
||||
("%s cannot be changed or unknown option.", optionName.c_str()).str());
|
||||
|
|
Loading…
Reference in New Issue