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

kdig: add missing separation between subsequent queries

parent 1d27d05a
No related branches found
No related tags found
No related merge requests found
......@@ -486,6 +486,11 @@ static void process_query(const query_t *query)
WARN("failed to query server %s#%s(%s)\n",
remote->name, remote->service, get_sockname(socktype));
// If not last server, print separation.
if (server->next->next) {
printf("\n");
}
}
knot_pkt_free(&out_packet);
......@@ -730,6 +735,11 @@ int dig_exec(const dig_params_t *params)
ERR("unsupported operation\n");
break;
}
// If not last query, print separation.
if (n->next->next) {
printf("\n");
}
}
return KNOT_EOK;
......
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