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

Cut & paste error

parent 980861af
...@@ -877,10 +877,10 @@ int net_SetCSCov (int fd, int sendcov, int recvcov) ...@@ -877,10 +877,10 @@ int net_SetCSCov (int fd, int sendcov, int recvcov)
&sendcov, sizeof (sendcov))) &sendcov, sizeof (sendcov)))
return VLC_EGENERIC; return VLC_EGENERIC;
if ((sendcov == -1) || (sendcov > 56)) if ((recvcov == -1) || (recvcov > 56))
sendcov = 0; recvcov = 0;
else else
sendcov = (sendcov + 3) / 4; recvcov = (recvcov + 3) / 4;
if (setsockopt (fd, SOL_DCCP, DCCP_SOCKOPT_RECV_CSCOV, if (setsockopt (fd, SOL_DCCP, DCCP_SOCKOPT_RECV_CSCOV,
&recvcov, sizeof (recvcov))) &recvcov, sizeof (recvcov)))
return VLC_EGENERIC; 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