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

master
Ian Geiser 7 years ago committed by metalefty
parent aaa40edefb
commit 324a334315

@ -113,7 +113,7 @@ g_mk_socket_path(const char *app_name)
{ {
if (!g_directory_exist(XRDP_SOCKET_PATH)) 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 failed, still check if it got created by someone else */
if (!g_directory_exist(XRDP_SOCKET_PATH)) if (!g_directory_exist(XRDP_SOCKET_PATH))

Loading…
Cancel
Save