1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

uncrash the build

This commit is contained in:
Charles Kerr 2008-08-22 20:53:19 +00:00
parent 815bf68082
commit d39005b0d1

View file

@ -358,9 +358,6 @@ tr_fdSocketCreate( int type, int isReserved )
int s = -1;
tr_lockLock( gFd->lock );
/* FIXME */
abort();
if( isReserved || ( gFd->normal < getSocketMax( gFd ) ) )
if( ( s = socket( AF_INET, type, 0 ) ) < 0 )
tr_err( _( "Couldn't create socket: %s" ), tr_strerror( sockerrno ) );