Skip to content
Snippets Groups Projects
Commit 26a4bc2b authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Merge branch 'modules-tests' of git+ssh://git.nic.cz/projects/labs/cutedns into modules-tests

parents 5930e013 d03c9aa4
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ static int test_edns_do(const dnslib_opt_rr_t *edns,
test_edns_t *test_edns)
{
if (dnslib_edns_do(edns) !=
test_edns->flags & DNSLIB_EDNS_DO_MASK) {
(test_edns->flags & DNSLIB_EDNS_DO_MASK)) {
return 0;
} else {
return 1;
......@@ -374,7 +374,6 @@ static int test_edns_wire()
/*
* Tests to_wire and from_wire in one test.
*/
int errors = 0;
for (int i = 0; i < TEST_EDNS; i++) {
/* Creates instance from test_edns_t. */
dnslib_opt_rr_t *edns =
......
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