[vlc-commits] satip: use vlc_send()

Rémi Denis-Courmont git at videolan.org
Sun Mar 29 16:07:39 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 28 09:16:11 2020 +0200| [43b333007821cdd544a5be277be68798a33f403b] | committer: Rémi Denis-Courmont

satip: use vlc_send()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=43b333007821cdd544a5be277be68798a33f403b
---

 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);



More information about the vlc-commits mailing list