lists.arthurdejong.org
RSS feed

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



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