Commit 07b2c439 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

eyetv: use vlc_socket() for close-on-exec and against SIGPIPE

parent 8d765e16
......@@ -170,7 +170,7 @@ static int Open(vlc_object_t *p_this)
return VLC_EGENERIC;
}
publicSock = socket(PF_UNIX, SOCK_STREAM, 0);
publicSock = vlc_socket(PF_UNIX, SOCK_STREAM, 0);
if (publicSock == -1) {
msg_Err(p_access, "create local socket failed (errno=%d)", errno);
free(p_sys);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment