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

Fixed wrong NULL check.

parent 1f2f8a9c
Branches
Tags
No related merge requests found
......@@ -152,7 +152,7 @@ static int knot_zone_contents_nsec3_name(const knot_zone_contents_t *zone,
strlen(apex_name));
free(apex_name);
if (nsec3_name == NULL) {
if (*nsec3_name == NULL) {
return KNOT_ERROR;
}
......
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