diff options
author | Ian Geiser <geiseri@geekcentral.pub> | 2017-07-17 14:02:38 -0400 |
---|---|---|
committer | metalefty <meta@vmeta.jp> | 2017-07-19 10:35:37 +0900 |
commit | 324a33431552d27d10f20d592d037078dc903538 (patch) | |
tree | 7c45b660d896de64183bdbaf739ed17d845fee03 /common/os_calls.c | |
parent | aaa40edefb762f87e2bd2e5e3073845134f3ec8a (diff) | |
download | xrdp-proprietary-324a33431552d27d10f20d592d037078dc903538.tar.gz xrdp-proprietary-324a33431552d27d10f20d592d037078dc903538.zip |
append a / to ensure the full path is created even when the config variable lacks a trailing /
Diffstat (limited to 'common/os_calls.c')
-rw-r--r-- | common/os_calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index 04c5007d..60ccda17 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -113,7 +113,7 @@ g_mk_socket_path(const char *app_name) { if (!g_directory_exist(XRDP_SOCKET_PATH)) { - if (!g_create_path(XRDP_SOCKET_PATH)) + if (!g_create_path(XRDP_SOCKET_PATH"/")) { /* if failed, still check if it got created by someone else */ if (!g_directory_exist(XRDP_SOCKET_PATH)) |