Complement of last commit, same return to mkdir condition.

yamux
Jose Marcial Vieira Bisneto 2017-02-02 19:44:32 -03:00
parent be4bee3119
commit 2431aba246
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ int ipfs_flatfs_create_directory(const char* full_directory) {
// it is not there, create it
#ifdef __MINGW32__
if (mkdir(full_directory) == -1)
return 0;
#else
if (mkdir(full_directory, S_IRWXU) == -1)
return 0;