append a / to ensure the full path is created even when the config variable lacks a trailing /

This commit is contained in:
Ian Geiser 2017-07-17 14:02:38 -04:00 committed by metalefty
parent aaa40edefb
commit 324a334315

View File

@ -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))