From 772bd2ad95c31565a9fa95eff2d957ac8c2cc027 Mon Sep 17 00:00:00 2001
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Date: Sun, 6 May 2018 00:48:37 +0200
Subject: src/pam-freerdp2.c: Typo fix.

---
 src/pam-freerdp2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
cgit v1.2.3