2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-04 00:25:29 +00:00

Allow *_log_setcontext() to be called multiple times, so that *_lctx

can be set to NULL once the log context has been freed.
This commit is contained in:
Brian Wellington
2000-09-26 22:10:44 +00:00
parent 3a62e221b4
commit df03463a37
2 changed files with 3 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.c,v 1.26 2000/08/01 01:22:28 tale Exp $ */
/* $Id: log.c,v 1.27 2000/09/26 22:10:44 bwelling Exp $ */
/* Principal Authors: DCL */
@@ -84,7 +84,5 @@ dns_log_init(isc_log_t *lctx) {
void
dns_log_setcontext(isc_log_t *lctx) {
REQUIRE(dns_lctx == NULL);
dns_lctx = lctx;
}