removed folderIterator::d_name() because it duplicates file_name()

This commit is contained in:
csoler 2016-10-09 21:03:01 +02:00
parent 32816eda71
commit 957d48b5fc
5 changed files with 4 additions and 28 deletions

View file

@ -536,8 +536,7 @@ bool RsAccountsDetail::getAvailableAccounts(std::map<RsPeerId, AccountDetails> &
for(;dirIt.isValid();dirIt.next())
{
/* check entry type */
std::string fname;
dirIt.d_name(fname);
std::string fname = dirIt.file_name();
std::string fullname = mBaseDirectory + "/" + fname;
#ifdef FIM_DEBUG
std::cerr << "calling stats on " << fullname <<std::endl;