Skip to content
Snippets Groups Projects
Commit 3d83caeb authored by Daniel Salzman's avatar Daniel Salzman Committed by Gerrit Code Review
Browse files

txt-out: improve time information

Change-Id: If5a275798c4e1198d5de441e2a4b3abadfb3de01
parent c1e0374a
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ int zone_dump_text(knot_zone_contents_t *zone, FILE *file)
// Dump trailing statistics.
fprintf(file, ";; Written %"PRIu64" records\n"
";; On %s\n",
";; Time %s\n",
params.rr_count, date);
// Get master information.
......
......@@ -145,6 +145,8 @@ static void print_footer(const size_t total_len,
} else {
printf("\n");
}
// Print date.
printf(";; Time %s\n", date);
// Print connection statistics.
if (net != NULL) {
......@@ -162,9 +164,6 @@ static void print_footer(const size_t total_len,
}
}
// Print date.
printf(";; On %s\n", date);
}
static void print_opt_section(const knot_opt_rr_t *rr)
......
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