Skip to content
Snippets Groups Projects
Commit 00b29269 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

conf: integrate MR comments

parent 0de1be96
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ int log_reconfigure(const struct conf_t *conf, void *data)
UNUSED(data);
// Use defaults if no 'log' section is configured.
if (list_size(&conf->logs) == 0) {
if (EMPTY_LIST(conf->logs)) {
log_close();
log_init();
return KNOT_EOK;
......
......@@ -61,7 +61,7 @@ int main(int argc, char *argv[])
is_int(0, sockaddr_cmp(&iface->addr, &addr_ref), "interface1 address check");
// Test 9,10: Check server key
if(list_size(&conf->keys) == 0) {
if (EMPTY_LIST(conf->keys)) {
ok(0, "TSIG key algorithm check - NO KEY FOUND");
ok(0, "TSIG key secret check - NO KEY FOUND");
} else {
......
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