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) { ...@@ -4421,7 +4421,7 @@ validated(isc_task_t *task, isc_event_t *event) {
} }
static void static void
log(void *arg, int level, const char *fmt, ...) { fctx_log(void *arg, int level, const char *fmt, ...) {
char msgbuf[2048]; char msgbuf[2048];
va_list args; va_list args;
fetchctx_t *fctx = arg; fetchctx_t *fctx = arg;
...@@ -4479,7 +4479,7 @@ findnoqname(fetchctx_t *fctx, dns_name_t *name, dns_rdatatype_t type, ...@@ -4479,7 +4479,7 @@ findnoqname(fetchctx_t *fctx, dns_name_t *name, dns_rdatatype_t type,
result = dns_rdata_tostruct(&rdata, &rrsig, NULL); result = dns_rdata_tostruct(&rdata, &rrsig, NULL);
RUNTIME_CHECK(result == ISC_R_SUCCESS); RUNTIME_CHECK(result == ISC_R_SUCCESS);
/* Wildcard has rrsig.labels < labels - 1. */ /* Wildcard has rrsig.labels < labels - 1. */
if (rrsig.labels + 1 >= labels) if (rrsig.labels + 1U >= labels)
continue; continue;
break; break;
} }
...@@ -4520,7 +4520,7 @@ findnoqname(fetchctx_t *fctx, dns_name_t *name, dns_rdatatype_t type, ...@@ -4520,7 +4520,7 @@ findnoqname(fetchctx_t *fctx, dns_name_t *name, dns_rdatatype_t type,
if (nrdataset->type == dns_rdatatype_nsec && if (nrdataset->type == dns_rdatatype_nsec &&
NXND(dns_nsec_noexistnodata(type, name, nsec, NXND(dns_nsec_noexistnodata(type, name, nsec,
nrdataset, &exists, nrdataset, &exists,
&data, NULL, log, &data, NULL, fctx_log,
fctx))) fctx)))
{ {
if (!exists) if (!exists)
...@@ -4535,7 +4535,7 @@ findnoqname(fetchctx_t *fctx, dns_name_t *name, dns_rdatatype_t type, ...@@ -4535,7 +4535,7 @@ findnoqname(fetchctx_t *fctx, dns_name_t *name, dns_rdatatype_t type,
&setclosest, &setclosest,
&setnearest, &setnearest,
closest, nearest, closest, nearest,
log, fctx))) fctx_log, fctx)))
{ {
if (!exists && setnearest) if (!exists && setnearest)
*noqname = nsec; *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