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

Fix previous commit (dead code...)

parent d5b5b746
......@@ -833,12 +833,6 @@ int __net_OpenDgram( vlc_object_t *obj, const char *psz_bind, int i_bind,
*/
int net_SetCSCov (int fd, int sendcov, int recvcov)
{
#if !defined( UDPLITE_RECV_CSCOV ) && !defined( DCCP_SOCKOPT_SEND_CSCOV )
VLC_UNUSED(sendcov);
VLC_UNUSED(recvcov);
return VLC_EGENERIC;
#endif
int type;
if (getsockopt (fd, SOL_SOCKET, SO_TYPE,
......@@ -888,6 +882,10 @@ int net_SetCSCov (int fd, int sendcov, int recvcov)
return VLC_SUCCESS;
#endif
}
#if !defined( UDPLITE_RECV_CSCOV ) && !defined( DCCP_SOCKOPT_SEND_CSCOV )
VLC_UNUSED(sendcov);
VLC_UNUSED(recvcov);
#endif
return VLC_EGENERIC;
}
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