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

Joel Grunbaum
2022-05-23 8f0d56bfe43787ae3c2908e2e7859ae1a58f04fa
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 {