diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-09-07 21:57:06 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-09-07 21:57:06 +0200 |
commit | 6592036689c38566acbafc178e1f22098279263f (patch) | |
tree | 19bb139462c5f264c0b35849fc4510b4db8550f3 /nslcd/service.c | |
parent | 713ea31d96c92e666f9722e5a81836242d1048c3 (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/service.c')
-rw-r--r-- | nslcd/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/service.c b/nslcd/service.c index 791d8c0..897d3cc 100644 --- a/nslcd/service.c +++ b/nslcd/service.c @@ -324,7 +324,7 @@ int nslcd_service_bynumber(TFILE *fp) int nslcd_service_all(TFILE *fp) { int32_t tmpint32; - struct ent_context *serv_context; + struct ent_context *serv_context=NULL; char filter[1024]; /* these are here for now until we rewrite the LDAP code */ struct servent result; |