Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/protocols.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/protocols.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/protocols.c')
-rw-r--r--nss/protocols.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nss/protocols.c b/nss/protocols.c
index eb8ba87..1f5d877 100644
--- a/nss/protocols.c
+++ b/nss/protocols.c
@@ -31,7 +31,7 @@
#include "compat/attrs.h"
static enum nss_status read_protoent(
- FILE *fp,struct protoent *result,
+ TFILE *fp,struct protoent *result,
char *buffer,size_t buflen,int *errnop)
{
int32_t tmpint32,tmp2int32,tmp3int32;
@@ -57,7 +57,7 @@ enum nss_status _nss_ldap_getprotobynumber_r(int number,struct protoent *result,
}
/* thread-local file pointer to an ongoing request */
-static __thread FILE *protoentfp;
+static __thread TFILE *protoentfp;
enum nss_status _nss_ldap_setprotoent(int UNUSED(stayopen))
{