Merge branch 'master' of https://github.com/kenCode-de/c-ipfs
This commit is contained in:
commit
33431a3007
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ int ipfs_flatfs_create_directory(const char* full_directory) {
|
||||||
// it is not there, create it
|
// it is not there, create it
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
if (mkdir(full_directory) == -1)
|
if (mkdir(full_directory) == -1)
|
||||||
|
return 0;
|
||||||
#else
|
#else
|
||||||
if (mkdir(full_directory, S_IRWXU) == -1)
|
if (mkdir(full_directory, S_IRWXU) == -1)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue