Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/passwd.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-06-09 00:57:27 +0200
committerArthur de Jong <arthur@arthurdejong.org>2007-06-09 00:57:27 +0200
commit51f3f0903b3f32231f7e8780a5d7c4f9ae1f9203 (patch)
tree547d454f6a94f6344033b51a8c4e5411515ec1d6 /nss/passwd.c
parent6dc21ddc6876690943c093adc7289a922212fe87 (diff)
implement our own stdio-like library that handles IO with a simple configurable timeout mechanism with buffering
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@272 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nss/passwd.c')
-rw-r--r--nss/passwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nss/passwd.c b/nss/passwd.c
index 06b4b49..9bc236e 100644
--- a/nss/passwd.c
+++ b/nss/passwd.c
@@ -31,7 +31,7 @@
#include "compat/attrs.h"
static enum nss_status read_passwd(
- FILE *fp,struct passwd *result,
+ TFILE *fp,struct passwd *result,
char *buffer,size_t buflen,int *errnop)
{
int32_t tmpint32;
@@ -61,7 +61,7 @@ enum nss_status _nss_ldap_getpwuid_r(uid_t uid,struct passwd *result,char *buffe
}
/* thread-local file pointer to an ongoing request */
-static __thread FILE *pwentfp;
+static __thread TFILE *pwentfp;
/* open a connection to the nslcd and write the request */
enum nss_status _nss_ldap_setpwent(int UNUSED(stayopen))