From 313f4d6363e8d8840adfb5bac401499fac5bb195 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sun, 19 Aug 2012 21:43:46 -0500 Subject: Changing the conv to a pointer of a pointer --- src/pam-freerdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c index edf9eca..a1e2bfa 100644 --- a/src/pam-freerdp.c +++ b/src/pam-freerdp.c @@ -48,13 +48,13 @@ get_item (pam_handle_t * pamh, int type) return NULL; } - struct pam_conv conv; + struct pam_conv * conv; if (pam_get_item(pamh, PAM_CONV, (const void **)&conv) != PAM_SUCCESS) { return NULL; } struct pam_response * responses = NULL; - if (conv.conv(1, (const struct pam_message **)&message, &responses, conv.appdata_ptr) != PAM_SUCCESS) { + if (conv->conv(1, (const struct pam_message **)&message, &responses, conv->appdata_ptr) != PAM_SUCCESS) { return NULL; } -- cgit v1.2.3