Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/passwd.c')
-rw-r--r--nss/passwd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nss/passwd.c b/nss/passwd.c
index ec8d1c2..26327e5 100644
--- a/nss/passwd.c
+++ b/nss/passwd.c
@@ -158,6 +158,9 @@ static nss_status_t _nss_nslcd_getpwuid_r(
return retv;
}
+/* thread-local file pointer to an ongoing request */
+static __thread TFILE *pwentfp;
+
/* open a connection to the nslcd and write the request */
static nss_status_t _xnss_ldap_setpwent(nss_backend_t UNUSED(*be),void UNUSED(*args))
{