mirror of https://github.com/aria2/aria2
Recognize tab as white space before option in -i list.
parent
a743bef220
commit
c408dbba72
|
@ -75,7 +75,7 @@ void UriListParser::parseNext(std::vector<std::string>& uris, Option& op)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
line_.assign(&buf[0], &buf[strlen(buf)]);
|
line_.assign(&buf[0], &buf[strlen(buf)]);
|
||||||
if(util::startsWith(line_, " ")) {
|
if(util::startsWith(line_, " ") || util::startsWith(line_, "\t")) {
|
||||||
ss << line_ << "\n";
|
ss << line_ << "\n";
|
||||||
} else if(util::startsWith(line_, A2STR::SHARP_C)) {
|
} else if(util::startsWith(line_, A2STR::SHARP_C)) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue