|
|
@ -357,7 +357,7 @@ xrdp_mm_setup_mod1(struct xrdp_mm *self)
|
|
|
|
|
|
|
|
|
|
|
|
if (self->mod_handle == 0)
|
|
|
|
if (self->mod_handle == 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
g_snprintf(text, 255, "%s/%s", XRDP_LIB_PATH, lib);
|
|
|
|
g_snprintf(text, 255, "%s/%s", XRDP_MODULE_PATH, lib);
|
|
|
|
/* Let the main thread load the lib,*/
|
|
|
|
/* Let the main thread load the lib,*/
|
|
|
|
self->mod_handle = g_xrdp_sync(xrdp_mm_sync_load, (tintptr)text, 0);
|
|
|
|
self->mod_handle = g_xrdp_sync(xrdp_mm_sync_load, (tintptr)text, 0);
|
|
|
|
|
|
|
|
|
|
|
@ -1151,7 +1151,7 @@ xrdp_mm_connect_chansrv(struct xrdp_mm *self, char *ip, char *port)
|
|
|
|
|
|
|
|
|
|
|
|
if (!(self->chan_trans_up))
|
|
|
|
if (!(self->chan_trans_up))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
log_message(LOG_LEVEL_ERROR,"xrdp_mm_connect_chansrv: error in"
|
|
|
|
log_message(LOG_LEVEL_ERROR,"xrdp_mm_connect_chansrv: error in "
|
|
|
|
"trans_connect chan");
|
|
|
|
"trans_connect chan");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -1164,7 +1164,7 @@ xrdp_mm_connect_chansrv(struct xrdp_mm *self, char *ip, char *port)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
log_message(LOG_LEVEL_DEBUG,"xrdp_mm_connect_chansrv: chansrv"
|
|
|
|
log_message(LOG_LEVEL_DEBUG,"xrdp_mm_connect_chansrv: chansrv "
|
|
|
|
"connect successful");
|
|
|
|
"connect successful");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|