Commit 45d4341e authored by Mark Andrews's avatar Mark Andrews
Browse files

silence signed/unsigned warning; rename log -> fctx_log

parent 2dd959aa
......@@ -4421,7 +4421,7 @@ validated(isc_task_t *task, isc_event_t *event) {
}
static void
log(void *arg, int level, const char *fmt, ...) {
fctx_log(void *arg, int level, const char *fmt, ...) {
char msgbuf[2048];
va_list args;
fetchctx_t *fctx = arg;
......@@ -4479,7 +4479,7 @@ findnoqname(fetchctx_t *fctx, dns_name_t *name, dns_rdatatype_t type,
result = dns_rdata_tostruct(&rdata, &rrsig, NULL);
RUNTIME_CHECK(result == ISC_R_SUCCESS);
/* Wildcard has rrsig.labels < labels - 1. */
if (rrsig.labels + 1 >= labels)
if (rrsig.labels + 1U >= labels)
continue;
break;
}
......@@ -4520,7 +4520,7 @@ findnoqname(fetchctx_t *fctx, dns_name_t *name, dns_rdatatype_t type,
if (nrdataset->type == dns_rdatatype_nsec &&
NXND(dns_nsec_noexistnodata(type, name, nsec,
nrdataset, &exists,
&data, NULL, log,
&data, NULL, fctx_log,
fctx)))
{
if (!exists)
......@@ -4535,7 +4535,7 @@ findnoqname(fetchctx_t *fctx, dns_name_t *name, dns_rdatatype_t type,
&setclosest,
&setnearest,
closest, nearest,
log, fctx)))
fctx_log, fctx)))
{
if (!exists && setnearest)
*noqname = nsec;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment