1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 03:12:44 +00:00

(libT) disable the so_sndbuf / so_rcvbuf code for now

This commit is contained in:
Charles Kerr 2008-11-28 07:42:08 +00:00
parent b46375fd8c
commit 516ba0564a

View file

@ -125,6 +125,7 @@ createSocket( int type )
static void
setSndBuf( tr_session * session, int fd )
{
#if 0
if( fd >= 0 )
{
const int sndbuf = session->so_sndbuf;
@ -132,6 +133,7 @@ setSndBuf( tr_session * session, int fd )
setsockopt( fd, SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof( sndbuf ) );
setsockopt( fd, SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof( rcvbuf ) );
}
#endif
}
int