diff options
author | Ted Gould <ted@gould.cx> | 2012-08-19 21:43:46 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-08-19 21:43:46 -0500 |
commit | 313f4d6363e8d8840adfb5bac401499fac5bb195 (patch) | |
tree | 2b70e6f441862e2a5c1c41eda1ac721ef5e118d8 /src | |
parent | 3b60cbdb4457ed351d2814f4edaa0440642159fa (diff) | |
download | libpam-freerdp2-313f4d6363e8d8840adfb5bac401499fac5bb195.tar.gz libpam-freerdp2-313f4d6363e8d8840adfb5bac401499fac5bb195.tar.bz2 libpam-freerdp2-313f4d6363e8d8840adfb5bac401499fac5bb195.zip |
Changing the conv to a pointer of a pointer
Diffstat (limited to 'src')
-rw-r--r-- | src/pam-freerdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |