[vlc-devel] [PATCH 4/5] lua: use vlc_send()
RĂ©mi Denis-Courmont
remi at remlab.net
Sat Mar 28 08:20:52 CET 2020
---
modules/lua/libs/net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/lua/libs/net.c b/modules/lua/libs/net.c
index a8f214f03e..6680ac3103 100644
--- a/modules/lua/libs/net.c
+++ b/modules/lua/libs/net.c
@@ -271,7 +271,7 @@ static int vlclua_net_send( lua_State *L )
i_len = (size_t)luaL_optinteger( L, 3, i_len );
lua_pushinteger( L,
- (fd != -1) ? send( fd, psz_buffer, i_len, MSG_NOSIGNAL ) : -1 );
+ (fd != -1) ? vlc_send( fd, psz_buffer, i_len, 0 ) : -1 );
return 1;
}
--
2.26.0
More information about the vlc-devel
mailing list