diff options
Diffstat (limited to 'contrib/bind9/lib/bind/irs/hesiod.c')
-rw-r--r-- | contrib/bind9/lib/bind/irs/hesiod.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contrib/bind9/lib/bind/irs/hesiod.c b/contrib/bind9/lib/bind/irs/hesiod.c index 9b0efeb81db09..618c592249b74 100644 --- a/contrib/bind9/lib/bind/irs/hesiod.c +++ b/contrib/bind9/lib/bind/irs/hesiod.c @@ -1,5 +1,5 @@ #if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = "$Id: hesiod.c,v 1.1.2.1.4.3 2004/05/17 07:48:56 marka Exp $"; +static const char rcsid[] = "$Id: hesiod.c,v 1.1.2.1.4.4 2005/07/28 07:43:19 marka Exp $"; #endif /* @@ -83,9 +83,7 @@ hesiod_init(void **context) { return (-1); } - ctx->LHS = NULL; - ctx->RHS = NULL; - ctx->res = NULL; + memset(ctx, 0, sizeof (*ctx)); if (parse_config_file(ctx, _PATH_HESIOD_CONF) < 0) { #ifdef DEF_RHS |