diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2009-05-29 21:22:58 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2009-05-29 21:22:58 +0000 |
commit | f91b33e7b87b0447029e9b7593b796c3b9d0d0b0 (patch) | |
tree | cb66705231e6c4480c62c3b690867c426cf2763b /nss/group.c | |
parent | 7c32d0121c95bbb05ab064b29bf7ec2ba5defc00 (diff) |
refactor protocol reading and writing macros to the common directory, use more logical names and in the PAM module no longer use NSS status codes (import of r887 from nss-pam-ldapd)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@904 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nss/group.c')
-rw-r--r-- | nss/group.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nss/group.c b/nss/group.c index 4fe0123..ea5e819 100644 --- a/nss/group.c +++ b/nss/group.c @@ -37,10 +37,10 @@ static enum nss_status read_group( { int32_t tmpint32,tmp2int32,tmp3int32; size_t bufptr=0; - READ_STRING_BUF(fp,result->gr_name); - READ_STRING_BUF(fp,result->gr_passwd); + READ_BUF_STRING(fp,result->gr_name); + READ_BUF_STRING(fp,result->gr_passwd); READ_TYPE(fp,result->gr_gid,gid_t); - READ_STRINGLIST_NULLTERM(fp,result->gr_mem); + READ_BUF_STRINGLIST(fp,result->gr_mem); return NSS_STATUS_SUCCESS; } |