|
|
@ -491,8 +491,8 @@ static int APP_CC
|
|
|
|
xrdp_mm_setup_mod2(struct xrdp_mm *self, tui8 *guid)
|
|
|
|
xrdp_mm_setup_mod2(struct xrdp_mm *self, tui8 *guid)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
char text[256];
|
|
|
|
char text[256];
|
|
|
|
char *name;
|
|
|
|
const char *name;
|
|
|
|
char *value;
|
|
|
|
const char *value;
|
|
|
|
int i;
|
|
|
|
int i;
|
|
|
|
int rv;
|
|
|
|
int rv;
|
|
|
|
int key_flags;
|
|
|
|
int key_flags;
|
|
|
@ -562,7 +562,7 @@ xrdp_mm_setup_mod2(struct xrdp_mm *self, tui8 *guid)
|
|
|
|
/* always set these */
|
|
|
|
/* always set these */
|
|
|
|
|
|
|
|
|
|
|
|
self->mod->mod_set_param(self->mod, "client_info",
|
|
|
|
self->mod->mod_set_param(self->mod, "client_info",
|
|
|
|
(char *)(self->wm->session->client_info));
|
|
|
|
(const char *) (self->wm->session->client_info));
|
|
|
|
|
|
|
|
|
|
|
|
name = self->wm->session->client_info->hostname;
|
|
|
|
name = self->wm->session->client_info->hostname;
|
|
|
|
self->mod->mod_set_param(self->mod, "hostname", name);
|
|
|
|
self->mod->mod_set_param(self->mod, "hostname", name);
|
|
|
@ -575,8 +575,8 @@ xrdp_mm_setup_mod2(struct xrdp_mm *self, tui8 *guid)
|
|
|
|
|
|
|
|
|
|
|
|
for (i = 0; i < self->login_names->count; i++)
|
|
|
|
for (i = 0; i < self->login_names->count; i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name = (char *)list_get_item(self->login_names, i);
|
|
|
|
name = (const char *) list_get_item(self->login_names, i);
|
|
|
|
value = (char *)list_get_item(self->login_values, i);
|
|
|
|
value = (const char *) list_get_item(self->login_values, i);
|
|
|
|
self->mod->mod_set_param(self->mod, name, value);
|
|
|
|
self->mod->mod_set_param(self->mod, name, value);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|