aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-06 00:44:53 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-06 00:44:53 +0200
commit462f687985debfa104c58410304c36ce0fe292e0 (patch)
treeb08ed810037c695a01ad078b6b67b5a1d2947dc4 /src
parenteca35244ba5ba1df7c15744ec8fea16f1795bc28 (diff)
downloadlibpam-freerdp2-462f687985debfa104c58410304c36ce0fe292e0.tar.gz
libpam-freerdp2-462f687985debfa104c58410304c36ce0fe292e0.tar.bz2
libpam-freerdp2-462f687985debfa104c58410304c36ce0fe292e0.zip
src/pam-freerdp2.c: global_user -> global_rdp_user.
Diffstat (limited to 'src')
-rw-r--r--src/pam-freerdp2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pam-freerdp2.c b/src/pam-freerdp2.c
index 1b9a70d..9d19b2e 100644
--- a/src/pam-freerdp2.c
+++ b/src/pam-freerdp2.c
@@ -73,8 +73,8 @@ get_item (pam_handle_t * pamh, int type)
} else {
/* Here we only have domains, so we can see if the global domain is
useful for us, if we have it */
- if ((type == PAM_TYPE_RDP_USER) && (global_user != NULL)) {
- return global_user;
+ if ((type == PAM_TYPE_RDP_USER) && (global_rdp_user != NULL)) {
+ return global_rdp_user;
}
if ((type == PAM_TYPE_RDP_SERVER) && (global_rdp_server != NULL)) {
return global_rdp_server;