Skip to content
Snippets Groups Projects
Commit 9dbdab0d authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Added missing return check.

parent a4e69214
No related branches found
No related tags found
No related merge requests found
......@@ -2151,6 +2151,9 @@ search:
// We need previous and closest encloser, full search has to be done
find_ret = knot_zone_contents_find_dname(zone, qname, &node,
&closest_encloser, &previous);
if (find_ret == KNOT_EINVAL) {
return NS_ERR_SERVFAIL;
}
}
dbg_ns_exec_verb(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment