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

Small fix

parent c746ac74
No related branches found
No related tags found
No related merge requests found
......@@ -119,7 +119,8 @@ int axfrin_transfer_needed(const dnslib_zone_t *zone,
const dnslib_rrset_t *soa_rrset =
dnslib_node_rrset(dnslib_zone_apex(zone), DNSLIB_RRTYPE_SOA);
if (soa_rrset == NULL) {
char *name = dnslib_dname_to_str(dnslib_rrset_owner(soa_rrset));
char *name = dnslib_dname_to_str(dnslib_node_owner(
dnslib_zone_apex(zone)));
log_answer_warning("SOA RRSet missing in the zone %s!\n", name);
free(name);
return KNOT_ERROR;
......
......@@ -40,6 +40,6 @@ int axfrin_transfer_needed(const dnslib_zone_t *zone,
int axfrin_create_axfr_query(const dnslib_dname_t *zone_name, uint8_t *buffer,
size_t *size);
#endif
#endif /* _KNOT_AXFR_IN_H_ */
/*! @} */
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