Fixed compilation issue with shadow pam code

This commit is contained in:
akallabeth 2020-06-16 14:02:49 +02:00
parent 67369dad55
commit e1e0f965e8

View File

@ -166,8 +166,8 @@ static int x11_shadow_pam_authenticate(rdpShadowSubsystem* subsystem, rdpShadowC
info.appdata.domain = domain;
info.appdata.password = password;
info.pamc.conv = &x11_shadow_pam_conv;
info.pamc.appdata_ptr = &(info->appdata);
pam_status = pam_start(info->service_name, 0, &info.pamc, &info.handle);
info.pamc.appdata_ptr = &info.appdata;
pam_status = pam_start(info.service_name, 0, &info.pamc, &info.handle);
if (pam_status != PAM_SUCCESS)
{