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/ether.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/ether.c')
-rw-r--r-- | nslcd/ether.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/ether.c b/nslcd/ether.c index 31fe276..ac66519 100644 --- a/nslcd/ether.c +++ b/nslcd/ether.c @@ -225,7 +225,7 @@ int nslcd_ether_all(TFILE *fp) { int32_t tmpint32; char filter[1024]; - struct ent_context *ether_context; + struct ent_context *ether_context=NULL; /* these are here for now until we rewrite the LDAP code */ struct ether result; char buffer[1024]; |