statzone

DNS zone file analyzer targeted at TLD zones
Log | Files | Refs | README | LICENSE

commit cd045626ce454b4f90f2c1890ced7bee7d70d3b3
parent 3648b1cfbe689de38b5568c703cd368096f5de6f
Author: Frederic Cambus <fred@statdns.com>
Date:   Sun, 22 Dec 2019 14:25:03 +0100

Replace 'log' by 'zone' in comments and printed error messages.

Diffstat:
Msrc/statzone.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/statzone.c b/src/statzone.c @@ -122,21 +122,21 @@ main(int argc, char *argv[]) { /* Starting timer */ clock_gettime(CLOCK_MONOTONIC, &begin); - /* Open log file */ + /* Open zone file */ if (!strcmp(intputFile, "-")) { /* Read from standard input */ zoneFile = stdin; } else { /* Attempt to read from file */ if (!(zoneFile = fopen(intputFile, "r"))) { - perror("Can't open log file"); + perror("Can't open zone file"); return EXIT_FAILURE; } } - /* Get log file size */ + /* Get zone file size */ if (fstat(fileno(zoneFile), &zoneFileStat)) { - perror("Can't stat log file"); + perror("Can't stat zone file"); return EXIT_FAILURE; }