+1215. [bug] isc_log_setdebuglevel() needed to lock the log
+ context.
+
1314. [func] libbind: no longer attempts bit string labels for
IPv6 reverse resolution. Try IP6.ARPA then IP6.INT
for nibble style resolution.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: log.c,v 1.74 2002/02/20 03:35:24 marka Exp $ */
+/* $Id: log.c,v 1.75 2002/06/03 03:39:56 marka Exp $ */
/* Principal Authors: DCL */
REQUIRE(VALID_CONTEXT(lctx));
+ LOCK(&lctx->lock);
+
lctx->debug_level = level;
/*
* Close ISC_LOG_DEBUGONLY channels if level is zero.
(void)fclose(FILE_STREAM(channel));
FILE_STREAM(channel) = NULL;
}
+ UNLOCK(&lctx->lock);
}
unsigned int