summaryrefslogtreecommitdiff
path: root/src/util/file
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2023-11-06 10:33:45 -0500
committerAndrew Opalach <andrew@akon.city> 2023-11-06 10:33:45 -0500
commit1517f2874ab44fcf210c14e9fdd3f9c1bfd6ba76 (patch)
tree641dd55f6677bea75c691b6010c0d7dd2a5f37e8 /src/util/file
parenta723efcc67b6c14ff0dd1efd1ba88596e959daaa (diff)
downloadlibnaunet-1517f2874ab44fcf210c14e9fdd3f9c1bfd6ba76.tar.gz
libnaunet-1517f2874ab44fcf210c14e9fdd3f9c1bfd6ba76.tar.bz2
libnaunet-1517f2874ab44fcf210c14e9fdd3f9c1bfd6ba76.zip
Update
- Refactor curl support, add curl websockets - Remove aki_socket config structure - Add the ability to change aki_timer repeat - Various fixes Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/util/file')
-rw-r--r--src/util/file/file_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/file/file_linux.c b/src/util/file/file_linux.c
index 97e9688..708bd2d 100644
--- a/src/util/file/file_linux.c
+++ b/src/util/file/file_linux.c
@@ -158,7 +158,7 @@ bool aki_dir_exists(str *path)
bool aki_dir_create(str *path)
{
char *c_str = al_str_to_c_str(path);
- s32 ret = mkdir(c_str, 0700);
+ s32 ret = mkdir(c_str, 0755);
al_free(c_str);
if (ret == -1) {
al_log_error("file", "mkdir(%.*s) failed (%s).", AL_STR_PRINTF(path), aki_strerror(errno));