Skip to content

Commit

Permalink
Merge pull request FreeRDP#6286 from akallabeth/shadow_pam_compile
Browse files Browse the repository at this point in the history
Fixed compilation issue with shadow pam code
  • Loading branch information
bmiklautz authored Jun 16, 2020
2 parents 67369da + e1e0f96 commit a0835d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/shadow/X11/x11_shadow.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a0835d2

Please sign in to comment.