Skip to content

Commit

Permalink
fix ptr casting
Browse files Browse the repository at this point in the history
  • Loading branch information
infra-build-user committed Nov 11, 2019
1 parent 96c5ae5 commit 972af22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/pluto/xauth.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void xauth_start_pam_thread(struct state *st,
return;
} else {

xauth->ptarg->ptr_xauth = &xauth; // create a circular link to ourselves so we can release our resources when the session is completed.
xauth->ptarg.ptr_xauth =(void**) &xauth; // create a circular link to ourselves so we can release our resources when the session is completed.
st->st_xauth = xauth;

pstats_xauth_started++;
Expand Down

0 comments on commit 972af22

Please sign in to comment.