Commit eac7291d authored by Daniel Salzman's avatar Daniel Salzman

zone-load: fix warning (always true)

parent 55b4689b
......@@ -158,17 +158,15 @@ src/knot/server/tcp-handler.c
src/knot/server/tcp-handler.h
src/knot/server/udp-handler.c
src/knot/server/udp-handler.h
src/knot/server/xfr-handler.c
src/knot/server/xfr-handler.h
src/knot/server/zone-load.c
src/knot/updates/acl.c
src/knot/updates/acl.h
src/knot/updates/apply.c
src/knot/updates/apply.h
src/knot/updates/changesets.c
src/knot/updates/changesets.h
src/knot/updates/ddns.c
src/knot/updates/ddns.h
src/knot/updates/apply.c
src/knot/updates/apply.h
src/knot/worker/pool.c
src/knot/worker/pool.h
src/knot/worker/queue.c
......@@ -233,25 +231,25 @@ src/libknot/processing/process.c
src/libknot/processing/process.h
src/libknot/rdata.c
src/libknot/rdata.h
src/libknot/rdataset.c
src/libknot/rdataset.h
src/libknot/rrset-dump.c
src/libknot/rrset-dump.h
src/libknot/rrset.c
src/libknot/rrset.h
src/libknot/rrtype/dnskey.h
src/libknot/rrtype/nsec.h
src/libknot/rrtype/nsec3.c
src/libknot/rrtype/nsec3.h
src/libknot/rrtype/nsec3param.c
src/libknot/rrtype/nsec3param.h
src/libknot/rrtype/opt.c
src/libknot/rrtype/opt.h
src/libknot/rrtype/rdname.h
src/libknot/rrtype/rrsig.h
src/libknot/rrtype/soa.h
src/libknot/rrtype/tsig.c
src/libknot/rrtype/tsig.h
src/libknot/rrtype/opt.c
src/libknot/rrtype/opt.h
src/libknot/rdataset.c
src/libknot/rdataset.h
src/libknot/rrset-dump.c
src/libknot/rrset-dump.h
src/libknot/rrset.c
src/libknot/rrset.h
src/libknot/tsig-op.c
src/libknot/tsig-op.h
src/libknot/util/endian.h
......@@ -319,10 +317,13 @@ tests/fdset.c
tests/hattrie.c
tests/hhash.c
tests/journal.c
tests/node.c
tests/pkt.c
tests/process_answer.c
tests/process_query.c
tests/query_module.c
tests/rdata.c
tests/rdataset.c
tests/requestor.c
tests/rrl.c
tests/rrset.c
......@@ -332,6 +333,3 @@ tests/slab.c
tests/wire.c
tests/zonedb.c
tests/ztree.c
tests/node.c
tests/rdata.c
tests/rdataset.c
......@@ -200,6 +200,6 @@ int zone_load_post(zone_contents_t *contents, zone_t *zone, uint32_t *dnssec_ref
bool zone_load_can_bootstrap(const conf_zone_t *zone_config)
{
return conf && !EMPTY_LIST(zone_config->acl.xfr_in);
return conf() && !EMPTY_LIST(zone_config->acl.xfr_in);
}
Markdown is supported
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