mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 05:24:21 +01:00
Even more dead code
This commit is contained in:
parent
70ad18ab1d
commit
2cc9a827c3
@ -4,17 +4,8 @@
|
||||
|
||||
static int set_sock_opts(int sock)
|
||||
{
|
||||
struct timeval tv;
|
||||
int d = 1;
|
||||
|
||||
memset(&tv, 0, sizeof(tv));
|
||||
#if 0
|
||||
tv.tv_sec = 2;
|
||||
net_setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO,
|
||||
&tv, sizeof(struct timeval));
|
||||
net_setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO,
|
||||
&tv, sizeof(struct timeval));
|
||||
#endif
|
||||
return net_setsockopt(sock,SOL_SOCKET,SO_REUSEADDR, &d, sizeof(int));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user