Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/rpc.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-09-07 21:57:06 +0200
committerArthur de Jong <arthur@arthurdejong.org>2007-09-07 21:57:06 +0200
commit6592036689c38566acbafc178e1f22098279263f (patch)
tree19bb139462c5f264c0b35849fc4510b4db8550f3 /nslcd/rpc.c
parent713ea31d96c92e666f9722e5a81836242d1048c3 (diff)
properly initialize all contexts
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@381 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/rpc.c')
-rw-r--r--nslcd/rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/rpc.c b/nslcd/rpc.c
index 51ec6c9..9cc5609 100644
--- a/nslcd/rpc.c
+++ b/nslcd/rpc.c
@@ -212,7 +212,7 @@ int nslcd_rpc_bynumber(TFILE *fp)
int nslcd_rpc_all(TFILE *fp)
{
int32_t tmpint32;
- struct ent_context *rpc_context;
+ struct ent_context *rpc_context=NULL;
char filter[1024];
/* these are here for now until we rewrite the LDAP code */
struct rpcent result;