mirror of https://github.com/Chizi123/dnscomp.git

Joel Grunbaum
2022-05-23 8f0d56bfe43787ae3c2908e2e7859ae1a58f04fa
fixup formatting
3 files modified
3 ■■■■ changed files
main.c 3 ●●●● patch | view | raw | blame | history
slist.c patch | view | raw | blame | history
slist.h patch | view | raw | blame | history
main.c
@@ -127,7 +127,8 @@
            for (int j = 0; j < 3 && run.tv_sec == -1; j++) {
                run = resolve(buf, curr->server, dns->server, T_A);
            }
            if (run.tv_sec == -1) { // if test has failed 3 times, set time taken
            if (run.tv_sec ==
                -1) { // if test has failed 3 times, set time taken
                                  // to 3s as penalty
                dns->errors++;
            } else {
slist.c
slist.h