Skip to content

feat: implement the last 2 missing network struct functions

Codecov / codecov/patch failed Oct 12, 2024 in 0s

55.17% of diff hit (target 73.08%)

View this Pull Request on Codecov

55.17% of diff hit (target 73.08%)

Annotations

Check warning on line 609 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L609

Added line #L609 was not covered by tests

Check warning on line 630 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L629-L630

Added lines #L629 - L630 were not covered by tests

Check warning on line 662 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L662

Added line #L662 was not covered by tests

Check warning on line 669 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L669

Added line #L669 was not covered by tests

Check warning on line 682 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L682

Added line #L682 was not covered by tests

Check warning on line 745 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L744-L745

Added lines #L744 - L745 were not covered by tests

Check warning on line 747 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L747

Added line #L747 was not covered by tests

Check warning on line 755 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L755

Added line #L755 was not covered by tests

Check warning on line 1972 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1971-L1972

Added lines #L1971 - L1972 were not covered by tests

Check warning on line 1975 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1975

Added line #L1975 was not covered by tests

Check warning on line 1979 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1979

Added line #L1979 was not covered by tests

Check warning on line 1990 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1989-L1990

Added lines #L1989 - L1990 were not covered by tests

Check warning on line 1993 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1992-L1993

Added lines #L1992 - L1993 were not covered by tests

Check warning on line 1998 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L1998

Added line #L1998 was not covered by tests

Check warning on line 2009 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L2007-L2009

Added lines #L2007 - L2009 were not covered by tests

Check warning on line 2016 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L2015-L2016

Added lines #L2015 - L2016 were not covered by tests

Check warning on line 2041 in toxcore/network.c

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network.c#L2041

Added line #L2041 was not covered by tests

Check warning on line 75 in toxcore/network_test_util.cc

See this annotation in the file changed.

@codecov codecov / codecov/patch

toxcore/network_test_util.cc#L75

Added line #L75 was not covered by tests