Skip to content
Snippets Groups Projects
Commit 250a18b3 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Restored broken knot_zload_rrset_deserialize() that passes id_array = NULL. [please-review]

refs #1946
parent faf8b14b
No related branches found
No related tags found
No related merge requests found
......@@ -263,7 +263,7 @@ static knot_rdata_t *knot_load_rdata(uint16_t type, FILE *f,
knot_dname_t **id_array,
int use_ids)
{
if (f == NULL || id_array == NULL) {
if (f == NULL) {
dbg_zload("zload: load_rdata: NULL arguments.\n");
return NULL;
}
......@@ -563,7 +563,7 @@ static knot_rrset_t *knot_load_rrsig(void *f, knot_dname_t **id_array,
static knot_rrset_t *knot_load_rrset(void *f, knot_dname_t **id_array,
int use_ids)
{
if (f == NULL || id_array == NULL) {
if (f == NULL) {
dbg_zload("zload: load_rrset: NULL arguments.\n");
return NULL;
}
......
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