Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/host.c')
-rw-r--r--nslcd/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nslcd/host.c b/nslcd/host.c
index abb23b6..6e6dda0 100644
--- a/nslcd/host.c
+++ b/nslcd/host.c
@@ -387,7 +387,7 @@ int nslcd_host_byaddr(TFILE *fp)
int nslcd_host_all(TFILE *fp)
{
int32_t tmpint32;
- struct ent_context *host_context;
+ struct ent_context *host_context=NULL;
char filter[1024];
/* these are here for now until we rewrite the LDAP code */
struct hostent result;