Renamed Ftp::ListingDirectory::getFilenames() to getListing()

This commit is contained in:
Laurent Gomila 2012-10-26 17:09:43 +02:00
parent 49f37ee8b3
commit c02e375399
3 changed files with 9 additions and 9 deletions

View file

@ -124,7 +124,7 @@ Ftp::Response(response)
std::string::size_type lastPos = 0;
for (std::string::size_type pos = paths.find("\r\n"); pos != std::string::npos; pos = paths.find("\r\n", lastPos))
{
m_filenames.push_back(paths.substr(lastPos, pos - lastPos));
m_listing.push_back(paths.substr(lastPos, pos - lastPos));
lastPos = pos + 2;
}
}
@ -132,9 +132,9 @@ Ftp::Response(response)
////////////////////////////////////////////////////////////
const std::vector<std::string>& Ftp::ListingResponse::getFilenames() const
const std::vector<std::string>& Ftp::ListingResponse::getListing() const
{
return m_filenames;
return m_listing;
}