mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 21:47:59 +00:00
conflict w/ builtin, log -> lctx.
This commit is contained in:
parent
36ff1620e4
commit
5c9d44a068
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: sig0_test.c,v 1.11 2004/03/05 04:58:39 marka Exp $ */
|
/* $Id: sig0_test.c,v 1.12 2005/03/16 13:52:51 marka Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ isc_buffer_t qbuffer, rbuffer;
|
|||||||
isc_taskmgr_t *taskmgr;
|
isc_taskmgr_t *taskmgr;
|
||||||
isc_entropy_t *ent = NULL;
|
isc_entropy_t *ent = NULL;
|
||||||
isc_task_t *task1;
|
isc_task_t *task1;
|
||||||
isc_log_t *log = NULL;
|
isc_log_t *lctx = NULL;
|
||||||
isc_logconfig_t *logconfig = NULL;
|
isc_logconfig_t *logconfig = NULL;
|
||||||
isc_socket_t *s;
|
isc_socket_t *s;
|
||||||
isc_sockaddr_t address;
|
isc_sockaddr_t address;
|
||||||
@ -250,7 +250,7 @@ main(int argc, char *argv[]) {
|
|||||||
socketmgr = NULL;
|
socketmgr = NULL;
|
||||||
RUNTIME_CHECK(isc_socketmgr_create(mctx, &socketmgr) == ISC_R_SUCCESS);
|
RUNTIME_CHECK(isc_socketmgr_create(mctx, &socketmgr) == ISC_R_SUCCESS);
|
||||||
|
|
||||||
RUNTIME_CHECK(isc_log_create(mctx, &log, &logconfig) == ISC_R_SUCCESS);
|
RUNTIME_CHECK(isc_log_create(mctx, &lctx, &logconfig) == ISC_R_SUCCESS);
|
||||||
|
|
||||||
s = NULL;
|
s = NULL;
|
||||||
RUNTIME_CHECK(isc_socket_create(socketmgr, PF_INET,
|
RUNTIME_CHECK(isc_socket_create(socketmgr, PF_INET,
|
||||||
@ -291,7 +291,7 @@ main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
isc_entropy_detach(&ent);
|
isc_entropy_detach(&ent);
|
||||||
|
|
||||||
isc_log_destroy(&log);
|
isc_log_destroy(&lctx);
|
||||||
|
|
||||||
if (verbose)
|
if (verbose)
|
||||||
isc_mem_stats(mctx, stdout);
|
isc_mem_stats(mctx, stdout);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user