mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-13 14:18:48 -04:00
don't require lctx to be non NULL
(cherry picked from commit 3793d848bd)
This commit is contained in:
parent
c94d4eab34
commit
57b17a67d2
1 changed files with 1 additions and 3 deletions
|
|
@ -432,7 +432,6 @@ cfg_parser_create(isc_mem_t *mctx, isc_log_t *lctx, cfg_parser_t **ret) {
|
|||
isc_lexspecials_t specials;
|
||||
|
||||
REQUIRE(mctx != NULL);
|
||||
REQUIRE(lctx != NULL);
|
||||
REQUIRE(ret != NULL && *ret == NULL);
|
||||
|
||||
pctx = isc_mem_get(mctx, sizeof(*pctx));
|
||||
|
|
@ -2749,10 +2748,9 @@ cfg_obj_log(const cfg_obj_t *obj, isc_log_t *lctx, int level,
|
|||
char msgbuf[2048];
|
||||
|
||||
REQUIRE(obj != NULL);
|
||||
REQUIRE(lctx != NULL);
|
||||
REQUIRE(fmt != NULL);
|
||||
|
||||
if (! isc_log_wouldlog(lctx, level))
|
||||
if (! isc_log_wouldlog(lctx, l))
|
||||
return;
|
||||
|
||||
va_start(ap, fmt);
|
||||
|
|
|
|||
Loading…
Reference in a new issue