[vlc-devel] [PATCH 2/5] satip: use vlc_send()
RĂ©mi Denis-Courmont
remi at remlab.net
Sat Mar 28 08:20:50 CET 2020
---
modules/access/satip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/satip.c b/modules/access/satip.c
index 12e4f52d89..2cbdbe0f56 100644
--- a/modules/access/satip.c
+++ b/modules/access/satip.c
@@ -411,7 +411,7 @@ static void satip_teardown(void *data) {
return;
}
- ret = send(sys->tcp_sock, msg + sent, len, MSG_NOSIGNAL);
+ ret = vlc_send(sys->tcp_sock, msg + sent, len, 0);
if (ret < 0) {
msg_Err(access, "Failed to send RTSP teardown: %d\n", ret);
free(msg);
--
2.26.0
More information about the vlc-devel
mailing list