Mercurial > crates > nonstick
diff src/pam_ffi/response.rs @ 72:47eb242a4f88
Fill out the PamHandle trait.
This updates the PamHandle trait to have methods for each Item,
and implements them on the LibPamHandle.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 04 Jun 2025 03:53:36 -0400 |
parents | 58f9d2a4df38 |
children | ac6881304c78 |
line wrap: on
line diff
--- a/src/pam_ffi/response.rs Tue Jun 03 21:54:58 2025 -0400 +++ b/src/pam_ffi/response.rs Wed Jun 04 03:53:36 2025 -0400 @@ -136,7 +136,7 @@ OwnedResponses { // SAFETY: We are doing allocation here. base: unsafe { libc::calloc(count, size_of::<RawResponse>()) } as *mut RawResponse, - count: count, + count, } }