From 93f8aa6e04b76a23b0409e3a73b86e7fd318377d Mon Sep 17 00:00:00 2001
From: Arthur de Jong <arthur@arthurdejong.org>
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/hosts.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'nss/hosts.c')

diff --git a/nss/hosts.c b/nss/hosts.c
index a73b83b..166792d 100644
--- a/nss/hosts.c
+++ b/nss/hosts.c
@@ -72,8 +72,8 @@ static enum nss_status read_hostent(
   int readaf;
   size_t bufptr=0;
   /* read the host entry */
-  READ_STRING_BUF(fp,result->h_name);
-  READ_STRINGLIST_NULLTERM(fp,result->h_aliases);
+  READ_BUF_STRING(fp,result->h_name);
+  READ_BUF_STRINGLIST(fp,result->h_aliases);
   result->h_addrtype=af;
   result->h_length=0;
   /* read number of addresses to follow */
-- 
cgit v1.2.3