more char* -> std::string conversions

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2cee6929d6
Author: martii <m4rtii@gmx.de>
Date: 2013-06-27 (Thu, 27 Jun 2013)



------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-06-27 17:18:57 +02:00
committed by Jacek Jendrzej
parent 662e27934a
commit a1eaaca64c
2 changed files with 13 additions and 41 deletions

View File

@@ -535,14 +535,8 @@ bool CFileHelpers::createDir(const char *Dir, mode_t mode)
createDir(dirPath, mode);
}
}
else {
if (ret == 0)
return true;
if (errno == EEXIST)
return true;
else
return false;
}
else
return !ret || (errno == EEXIST);
}
errno = 0;
return true;