diff options
| author | Doug Barton <dougb@FreeBSD.org> | 2008-07-12 08:12:46 +0000 | 
|---|---|---|
| committer | Doug Barton <dougb@FreeBSD.org> | 2008-07-12 08:12:46 +0000 | 
| commit | cba78608de638f8cc6d1d48a2b3072e82386b70d (patch) | |
| tree | 2857dd6ab984105d7ac37bbcfc816607c48ccc1d /lib/dns/view.c | |
| parent | f16b9a8f9e30675de8048c5832ffbb3f50f2fdc4 (diff) | |
Diffstat (limited to 'lib/dns/view.c')
| -rw-r--r-- | lib/dns/view.c | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/dns/view.c b/lib/dns/view.c index ac7af61639de..90b7e938b3cb 100644 --- a/lib/dns/view.c +++ b/lib/dns/view.c @@ -1,8 +1,8 @@  /* - * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")   * Copyright (C) 1999-2003  Internet Software Consortium.   * - * Permission to use, copy, modify, and distribute this software for any + * Permission to use, copy, modify, and/or distribute this software for any   * purpose with or without fee is hereby granted, provided that the above   * copyright notice and this permission notice appear in all copies.   * @@ -15,7 +15,7 @@   * PERFORMANCE OF THIS SOFTWARE.   */ -/* $Id: view.c,v 1.103.2.5.2.14 2004/03/10 02:55:58 marka Exp $ */ +/* $Id: view.c,v 1.103.2.5.2.17 2007/08/28 07:19:14 tbox Exp $ */  #include <config.h> @@ -679,6 +679,7 @@ dns_view_find(dns_view_t *view, dns_name_t *name, dns_rdatatype_t type,  	REQUIRE(view->frozen);  	REQUIRE(type != dns_rdatatype_rrsig);  	REQUIRE(rdataset != NULL);  /* XXXBEW - remove this */ +	REQUIRE(nodep == NULL || *nodep == NULL);  	/*  	 * Initialize.  | 
