Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'telegram-base.c')
-rw-r--r--telegram-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telegram-base.c b/telegram-base.c
index 19b0b6c..9833bac 100644
--- a/telegram-base.c
+++ b/telegram-base.c
@@ -406,8 +406,8 @@ gchar *get_download_dir (struct tgl_state *TLS) {
dir = g_strconcat ("/tmp", G_DIR_SEPARATOR_S, "downloads", NULL);
} else {
dir = g_strconcat (TLS->base_path, G_DIR_SEPARATOR_S, "downloads", NULL);
- g_mkdir_with_parents (dir, 0700);
}
+ g_mkdir_with_parents (dir, 0700);
return dir;
}