diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-02-17 13:08:25 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-02-17 13:08:25 +0100 |
commit | f7d514fa13424cf4ddb34634e5feffca89be710b (patch) | |
tree | a6f4c09c7c945f749cfea559c198e229c7a9fcd1 /nss/hosts.c | |
parent | 1cc1884587bd156fb210c2a049ae12b763a2a9e1 (diff) |
fix a few bugs found thanks to the new warnings
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@251 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nss/hosts.c')
-rw-r--r-- | nss/hosts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/hosts.c b/nss/hosts.c index cd13c62..2720b54 100644 --- a/nss/hosts.c +++ b/nss/hosts.c @@ -153,7 +153,7 @@ static enum nss_status read_hostent_nextonempty( do { /* read a host entry */ - retv=read_hostent(fp,AF_INET,result,buffer,buflen,errnop,h_errnop); + retv=read_hostent(fp,af,result,buffer,buflen,errnop,h_errnop); /* check result */ if (retv!=NSS_STATUS_SUCCESS) return retv; |