aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-08-19 21:43:46 -0500
committerTed Gould <ted@gould.cx>2012-08-19 21:43:46 -0500
commitec14991fdc6915a88cd213e37ab776b6e28ce738 (patch)
tree2b70e6f441862e2a5c1c41eda1ac721ef5e118d8 /src
parentfb842c6866ce962d332b2a17d3e070de1fd6f119 (diff)
downloadlibpam-x2go-ec14991fdc6915a88cd213e37ab776b6e28ce738.tar.gz
libpam-x2go-ec14991fdc6915a88cd213e37ab776b6e28ce738.tar.bz2
libpam-x2go-ec14991fdc6915a88cd213e37ab776b6e28ce738.zip
Changing the conv to a pointer of a pointer
Diffstat (limited to 'src')
-rw-r--r--src/pam-freerdp.c4
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;
}