Skip to content

fix: Don't use `memcmp` to compare `IP_Port`s.

Codecov / codecov/patch failed Jan 26, 2024 in 0s

69.04% of diff hit (target 73.68%)

View this Pull Request on Codecov

69.04% of diff hit (target 73.68%)

Annotations

Check warning on line 1449 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1447-L1449

Added lines #L1447 - L1449 were not covered by tests

Check warning on line 1451 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1451

Added line #L1451 was not covered by tests

Check warning on line 1463 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1462-L1463

Added lines #L1462 - L1463 were not covered by tests

Check warning on line 1473 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1468-L1473

Added lines #L1468 - L1473 were not covered by tests

Check warning on line 1476 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1476

Added line #L1476 was not covered by tests