aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 16:45:19 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-02 16:45:19 +0200
commitc82cb5019952d6e0d95dd5fba764e57989c589b8 (patch)
tree416a4d5a78cc83f261bc03c7679d5dee23a90abe /src
parenta3d07115df2578dc04a78d7092c8cfc2be1bcd95 (diff)
downloadlibpam-freerdp2-c82cb5019952d6e0d95dd5fba764e57989c589b8.tar.gz
libpam-freerdp2-c82cb5019952d6e0d95dd5fba764e57989c589b8.tar.bz2
libpam-freerdp2-c82cb5019952d6e0d95dd5fba764e57989c589b8.zip
missing parenthesis open...
Diffstat (limited to 'src')
-rw-r--r--src/pam-freerdp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c
index 9457704..908c54d 100644
--- a/src/pam-freerdp.c
+++ b/src/pam-freerdp.c
@@ -167,7 +167,7 @@ get_item (pam_handle_t * pamh, int type)
char * retval = NULL;
if (promptval != NULL) { /* Can't believe it really would be at this point, but let's be sure */
- if ((type != PAM_TYPE_RDPDOMAIN) && type != PAM_TYPE_RDPSERVER)) {
+ if ((type != PAM_TYPE_RDPDOMAIN) && (type != PAM_TYPE_RDPSERVER)) {
/* We can only use the PAM functions if it's neither server nor domain */
pam_set_item(pamh, type, (const void *)promptval);
/* We're returning the value saved by PAM so we can clear promptval */