summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bluetooth-settings-obexpush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bluetooth-settings-obexpush.c b/lib/bluetooth-settings-obexpush.c
index 53ffee72..9ad399ce 100644
--- a/lib/bluetooth-settings-obexpush.c
+++ b/lib/bluetooth-settings-obexpush.c
@@ -484,7 +484,7 @@ lookup_download_dir (void)
char *dir;
special_dir = g_get_user_special_dir (G_USER_DIRECTORY_DOWNLOAD);
- if (special_dir != NULL && strcmp (special_dir, g_get_home_dir ()) != 0) {
+ if (special_dir != NULL) {
g_mkdir_with_parents (special_dir, 0755);
return g_strdup (special_dir);
}