mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user