Call the member function of IOFile

pull/2106/head
Tatsuhiro Tsujikawa 2023-09-18 10:22:45 +09:00
parent c2109a5aca
commit 1fd0e52c41
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ void UriListParser::parseNext(std::vector<std::string>& uris, Option& op)
if (fp_->eof()) {
break;
}
else if (!fp_) {
else if (!*fp_) {
throw DL_ABORT_EX("UriListParser:I/O error.");
}
else {
@ -102,7 +102,7 @@ void UriListParser::parseNext(std::vector<std::string>& uris, Option& op)
if (fp_->eof()) {
return;
}
else if (!fp_) {
else if (!*fp_) {
throw DL_ABORT_EX("UriListParser:I/O error.");
}
}