Skip to content
Snippets Groups Projects
Commit ee264108 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Fixed adding RDATA to changes_t structure.

- Ignoring if no RDATA given.
parent 492037ed
No related branches found
No related tags found
No related merge requests found
......@@ -1376,6 +1376,10 @@ static void xfrin_changes_add_rdata(knot_rdata_t **rdatas, uint *types,
{
dbg_xfrin_detail("Adding RDATA to new RDATA list: %p\n", rdata);
if (rdata == NULL) {
return;
}
dbg_xfrin_exec_detail(
// try to find the first RDATA in the given list
for (int i = 0; i < *count; ++i) {
......
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