From 93f8aa6e04b76a23b0409e3a73b86e7fd318377d Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Thu, 21 May 2009 11:24:59 +0000 Subject: 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 git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@887 ef36b2f9-881f-0410-afb5-c4e39611909c --- nss/group.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nss/group.c') 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; } -- cgit v1.2.3