summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_wm.c
diff options
context:
space:
mode:
authorArvidNorr <norrarvid@gmail.com>2013-01-28 15:31:51 +0100
committerArvidNorr <norrarvid@gmail.com>2013-01-28 15:31:51 +0100
commit0770f217fa314cd0ae2546e2b758fbbaa3e07e09 (patch)
treea05c9e8bce10226ed39555383c752ebe4f8e2099 /xrdp/xrdp_wm.c
parenta2bbbd8cc336bedbda61a6af47d90bcccbe6aead (diff)
downloadxrdp-proprietary-0770f217fa314cd0ae2546e2b758fbbaa3e07e09.tar.gz
xrdp-proprietary-0770f217fa314cd0ae2546e2b758fbbaa3e07e09.zip
PAM error text can be configured
Diffstat (limited to 'xrdp/xrdp_wm.c')
-rw-r--r--xrdp/xrdp_wm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c
index 27a794a0..e779d641 100644
--- a/xrdp/xrdp_wm.c
+++ b/xrdp/xrdp_wm.c
@@ -452,6 +452,11 @@ xrdp_wm_load_static_colors_plus(struct xrdp_wm *self, char *autorun_name)
self->hide_log_window = 1;
}
}
+ else if (g_strcasecmp(val, "pamerrortxt") == 0)
+ {
+ val = (char *)list_get_item(values, index);
+ g_strncpy(self->pamerrortxt,val,256);
+ }
}
}
}