Removed CreateDirectoryA, handled by PathMakePath
authorArmin Novak <armin.novak@thincast.com>
Tue, 9 Jun 2015 11:17:15 +0000 (13:17 +0200)
committerArmin Novak <armin.novak@thincast.com>
Tue, 9 Jun 2015 11:17:15 +0000 (13:17 +0200)
libfreerdp/core/settings.c

index 806d9bf..ab5af8e 100644 (file)
@@ -485,9 +485,6 @@ rdpSettings* freerdp_settings_new(DWORD flags)
                                settings->ConfigPath = GetCombinedPath(
                                                               base,
                                                               FREERDP_PRODUCT_STRING);
-                               if (!PathFileExistsA(base))
-                                       if (!CreateDirectoryA(base, NULL))
-                                               settings->ConfigPath = NULL;
                        }
                        free (base);
                } else {