[vlc-commits] lua: use vlc_send()
Rémi Denis-Courmont
git at videolan.org
Sun Mar 29 16:07:41 CEST 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 28 09:16:36 2020 +0200| [2c88e2273b48ead86af1fb2d4adbf9ede3b196d5] | committer: Rémi Denis-Courmont
lua: use vlc_send()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c88e2273b48ead86af1fb2d4adbf9ede3b196d5
---
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;
}
More information about the vlc-commits
mailing list