summaryrefslogtreecommitdiff
path: root/contrib/bind9/lib/bind/irs/hesiod.c
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2006-01-14 10:13:50 +0000
committerDoug Barton <dougb@FreeBSD.org>2006-01-14 10:13:50 +0000
commit41ecb87b06112f5c5ec1c81deb735501a6e8133e (patch)
tree11bb34523fd3b455d9fe361e25c35b83173e7000 /contrib/bind9/lib/bind/irs/hesiod.c
parent958288d0218912ac8c29b001f2992a68ae2180c6 (diff)
Notes
Diffstat (limited to 'contrib/bind9/lib/bind/irs/hesiod.c')
-rw-r--r--contrib/bind9/lib/bind/irs/hesiod.c6
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 9b0efeb81db0..618c592249b7 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