Commit 44aee437 authored by Daniel Salzman's avatar Daniel Salzman

internet: coding style

parent f31e128e
......@@ -430,8 +430,8 @@ static int name_not_found(knot_pkt_t *pkt, struct query_data *qdata)
if (qdata->encloser->flags & NODE_FLAGS_WILDCARD_CHILD) {
/* Find wildcard child in the zone. */
const zone_node_t *wildcard_node =
qdata->zone->contents, qdata->encloser);
qdata->zone->contents, qdata->encloser);
qdata->node = wildcard_node;
assert(qdata->node != NULL);
......@@ -466,8 +466,8 @@ static int name_not_found(knot_pkt_t *pkt, struct query_data *qdata)
static int solve_name(int state, knot_pkt_t *pkt, struct query_data *qdata)
int ret = zone_contents_find_dname(qdata->zone->contents, qdata->name,
&qdata->node, &qdata->encloser,
&qdata->node, &qdata->encloser,
switch (ret) {
......@@ -654,7 +654,7 @@ int ns_put_rr(knot_pkt_t *pkt, const knot_rrset_t *rr,
/* Expand if RR is wildcard & we didn't query for wildcard. */
expand = (knot_dname_is_wildcard(rr->owner) && !knot_dname_is_wildcard(qdata->name));
int ret = KNOT_EOK;
/* If we already have compressed name on the wire and compression hint,
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