diff options
Diffstat (limited to 'net-im/tox/files/patch-toxcore_network.c')
| -rw-r--r-- | net-im/tox/files/patch-toxcore_network.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-im/tox/files/patch-toxcore_network.c b/net-im/tox/files/patch-toxcore_network.c index eda52d4414f8..4759446df1d7 100644 --- a/net-im/tox/files/patch-toxcore_network.c +++ b/net-im/tox/files/patch-toxcore_network.c @@ -1,16 +1,16 @@ ---- toxcore/network.c.orig 2022-04-18 18:12:07 UTC +--- toxcore/network.c.orig 2025-10-06 10:37:58 UTC +++ toxcore/network.c -@@ -1063,6 +1063,7 @@ Networking_Core *new_networking_ex( +@@ -1318,6 +1318,7 @@ Networking_Core *new_networking_ex( */ int n = 1024 * 1024 * 2; +#if !defined(__FreeBSD__) if (net_setsockopt(ns, temp->sock, SOL_SOCKET, SO_RCVBUF, &n, sizeof(n)) != 0) { - LOGGER_ERROR(log, "failed to set socket option %d", SO_RCVBUF); + LOGGER_WARNING(log, "failed to set socket option %d", SO_RCVBUF); } -@@ -1070,6 +1071,7 @@ Networking_Core *new_networking_ex( +@@ -1325,6 +1326,7 @@ Networking_Core *new_networking_ex( if (net_setsockopt(ns, temp->sock, SOL_SOCKET, SO_SNDBUF, &n, sizeof(n)) != 0) { - LOGGER_ERROR(log, "failed to set socket option %d", SO_SNDBUF); + LOGGER_WARNING(log, "failed to set socket option %d", SO_SNDBUF); } +#endif |
