statzone

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

commit edb3e48814e0365eba62563ccb8d63d0351c7789
parent a1502ce04fcaa4bf97c5f12f48b1130a875902e0
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 12 Feb 2021 21:13:44 +0100

Get rid of a forgotten camelCase occurrence.

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

diff --git a/src/statzone.c b/src/statzone.c @@ -4,7 +4,7 @@ * https://www.statdns.com * * Created: 2012-02-13 - * Last Updated: 2021-02-08 + * Last Updated: 2021-02-12 * * StatZone is released under the BSD 2-Clause license * See LICENSE file for details. @@ -80,7 +80,7 @@ main(int argc, char *argv[]) int opt, token_count; - char lineBuffer[LINE_LENGTH_MAX]; + char linebuffer[LINE_LENGTH_MAX]; char *input, *domain, *previous_domain = NULL; char *rdata, *token = NULL, *token_lc = NULL; @@ -147,18 +147,18 @@ main(int argc, char *argv[]) return EXIT_FAILURE; } - while (fgets(lineBuffer, LINE_LENGTH_MAX, zonefile)) { - if (!*lineBuffer) + while (fgets(linebuffer, LINE_LENGTH_MAX, zonefile)) { + if (!*linebuffer) continue; - if (*lineBuffer == ';') /* Comments */ + if (*linebuffer == ';') /* Comments */ continue; - if (*lineBuffer == '$') /* Directives */ + if (*linebuffer == '$') /* Directives */ continue; token_count = 0; - token = strtok(lineBuffer, " \t"); + token = strtok(linebuffer, " \t"); if (token) domain = strtolower(token);