diff options
Diffstat (limited to 'nslcd/host.c')
-rw-r--r-- | nslcd/host.c | 2 |
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; |