From ed93546c519b35d5ece89c1fece94d8347e26f28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 26 Mar 2025 20:14:51 +0100 Subject: ICE: use pj_ice_strans_sendto2 --- src/Erebos/ICE/pjproject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Erebos/ICE/pjproject.c b/src/Erebos/ICE/pjproject.c index 2374340..e79fb9d 100644 --- a/src/Erebos/ICE/pjproject.c +++ b/src/Erebos/ICE/pjproject.c @@ -397,7 +397,7 @@ void ice_send(pj_ice_strans * strans, const char * data, size_t len) return; } - pj_status_t status = pj_ice_strans_sendto(strans, 1, data, len, + pj_status_t status = pj_ice_strans_sendto2(strans, 1, data, len, &ice.def_addr, pj_sockaddr_get_len(&ice.def_addr)); if (status != PJ_SUCCESS && status != PJ_EPENDING) ice_perror("error sending data", status); -- cgit v1.2.3