2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

use isc_log_wouldlog() in manager_log()

This commit is contained in:
Andreas Gustafsson 2000-07-13 01:38:40 +00:00
parent 2935e25e99
commit 0072e42780

View File

@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: socket.c,v 1.150 2000/07/13 01:22:56 bwelling Exp $ */
/* $Id: socket.c,v 1.151 2000/07/13 01:38:40 gson Exp $ */
#include <config.h>
@ -234,6 +234,9 @@ manager_log(isc_socketmgr_t *sockmgr,
char msgbuf[2048];
va_list ap;
if (! isc_log_wouldlog(isc_lctx, level))
return;
va_start(ap, fmt);
vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap);
va_end(ap);