nss-pam-ldapd commit: r1255 - nss-pam-ldapd/nss
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1255 - nss-pam-ldapd/nss
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1255 - nss-pam-ldapd/nss
- Date: Sun, 10 Oct 2010 21:53:27 +0200 (CEST)
Author: arthur
Date: Sun Oct 10 21:53:26 2010
New Revision: 1255
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1255
Log:
correctly name shared file handle
Modified:
nss-pam-ldapd/nss/rpc.c
Modified: nss-pam-ldapd/nss/rpc.c
==============================================================================
--- nss-pam-ldapd/nss/rpc.c Sun Oct 10 21:46:20 2010 (r1254)
+++ nss-pam-ldapd/nss/rpc.c Sun Oct 10 21:53:26 2010 (r1255)
@@ -63,12 +63,12 @@
}
/* thread-local file pointer to an ongoing request */
-static __thread TFILE *protoentfp;
+static __thread TFILE *rpcentfp;
/* request a stream to list all rpc entries */
nss_status_t _nss_ldap_setrpcent(int UNUSED(stayopen))
{
- NSS_SETENT(protoentfp);
+ NSS_SETENT(rpcentfp);
}
/* get an rpc entry from the list */
@@ -76,12 +76,12 @@
struct rpcent *result,
char *buffer,size_t buflen,int *errnop)
{
- NSS_GETENT(protoentfp,NSLCD_ACTION_RPC_ALL,
- read_rpcent(protoentfp,result,buffer,buflen,errnop));
+ NSS_GETENT(rpcentfp,NSLCD_ACTION_RPC_ALL,
+ read_rpcent(rpcentfp,result,buffer,buflen,errnop));
}
/* close the stream opened by setrpcent() above */
nss_status_t _nss_ldap_endrpcent(void)
{
- NSS_ENDENT(protoentfp);
+ NSS_ENDENT(rpcentfp);
}
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1255 - nss-pam-ldapd/nss,
Commits of the nss-pam-ldapd project