summaryrefslogtreecommitdiff
path: root/toxcore/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/network.c')
-rw-r--r--toxcore/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/network.c b/toxcore/network.c
index d3284c4d..3f297ad7 100644
--- a/toxcore/network.c
+++ b/toxcore/network.c
@@ -759,7 +759,7 @@ Networking_Core *new_networking_ex(const Logger *log, IP ip, uint16_t port_from,
759 759
760 /* maybe check for invalid IPs like 224+.x.y.z? if there is any IP set ever */ 760 /* maybe check for invalid IPs like 224+.x.y.z? if there is any IP set ever */
761 if (!net_family_is_ipv4(ip.family) && !net_family_is_ipv6(ip.family)) { 761 if (!net_family_is_ipv4(ip.family) && !net_family_is_ipv6(ip.family)) {
762 LOGGER_ERROR(log, "invalid address family: %u\n", ip.family.value); 762 LOGGER_ERROR(log, "invalid address family: %u", ip.family.value);
763 return nullptr; 763 return nullptr;
764 } 764 }
765 765