aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-06 00:48:37 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-06 00:48:37 +0200
commit772bd2ad95c31565a9fa95eff2d957ac8c2cc027 (patch)
treef9da248c49b47ac1c5224a96ed0eba9078641134
parent9d1efacc7353f795599286e19590152936f313dd (diff)
downloadlibpam-freerdp2-772bd2ad95c31565a9fa95eff2d957ac8c2cc027.tar.gz
libpam-freerdp2-772bd2ad95c31565a9fa95eff2d957ac8c2cc027.tar.bz2
libpam-freerdp2-772bd2ad95c31565a9fa95eff2d957ac8c2cc027.zip
src/pam-freerdp2.c: Typo fix.
-rw-r--r--src/pam-freerdp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam-freerdp2.c b/src/pam-freerdp2.c
index 5f13c3b..a6675ae 100644
--- a/src/pam-freerdp2.c
+++ b/src/pam-freerdp2.c
@@ -58,7 +58,7 @@ get_item (pam_handle_t * pamh, int type)
{
/* Check to see if we just have the value. If we do, great
let's dup it some we're consitently allocating memory */
- if ((type == PAM_USER) || (type != PAM_AUTHTOK)) {
+ if ((type == PAM_USER) || (type == PAM_AUTHTOK)) {
/* If it's not a domain we can use the PAM functions because the PAM
functions don't support the domain */
char * value = NULL;