Fix call to g_mkdir_with_parents() in test-client

Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
This commit is contained in:
Gergely Polonkai 2016-03-21 15:37:49 +01:00
parent 4c6ffe59f4
commit 457371b25b

View File

@ -43,7 +43,7 @@ save_file_name(MatrixClient *client)
gchar *dir = g_strdup_printf("%s/matrix-glib-sdk", g_get_user_cache_dir());
gchar *full_fn = g_strdup_printf("%s/%s", dir, filename);
g_mkdir_with_parents(dir);
g_mkdir_with_parents(dir, 0700);
g_free(dir);
g_free(filename);