From c82cb5019952d6e0d95dd5fba764e57989c589b8 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 2 May 2018 16:45:19 +0200 Subject: missing parenthesis open... --- src/pam-freerdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3