Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Dec 12, 2023
1 parent cee2c34 commit 03c00af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion net_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ static char *dns_resolve_filter(const char *host, int32_t family, uint8_t max_ad
(uint32_t)(max_ai_string - ai_string_len), NULL, 0, NI_NUMERICHOST);
if (err != 0) {
printf("getnameinfo fail\n");

Check warning on line 82 in net_util.c

View check run for this annotation

Codecov / codecov/patch

net_util.c#L82

Added line #L82 was not covered by tests
goto dns_resolve_error;
if (ai_string_len < max_ai_string)
ai_string[ai_string_len] = 0;
continue;

Check warning on line 85 in net_util.c

View check run for this annotation

Codecov / codecov/patch

net_util.c#L84-L85

Added lines #L84 - L85 were not covered by tests
}

max_addrs--;
Expand Down

0 comments on commit 03c00af

Please sign in to comment.