diff options
Diffstat (limited to 'contrib/bind9/lib/bind/irs/dns.c')
-rw-r--r-- | contrib/bind9/lib/bind/irs/dns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bind9/lib/bind/irs/dns.c b/contrib/bind9/lib/bind/irs/dns.c index ab83b3e..27529b5 100644 --- a/contrib/bind9/lib/bind/irs/dns.c +++ b/contrib/bind9/lib/bind/irs/dns.c @@ -16,7 +16,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static const char rcsid[] = "$Id: dns.c,v 1.1.206.2 2004/03/17 00:29:47 marka Exp $"; +static const char rcsid[] = "$Id: dns.c,v 1.1.206.3 2006/03/10 00:17:21 marka Exp $"; #endif /* @@ -114,7 +114,7 @@ dns_res_get(struct irs_acc *this) { res = (struct __res_state *)malloc(sizeof *res); if (res == NULL) return (NULL); - memset(dns->res, 0, sizeof *dns->res); + memset(res, 0, sizeof *res); dns_res_set(this, res, free); } |