(trunk libT) fix minor r8394 bug

This commit is contained in:
Charles Kerr 2009-05-14 18:37:24 +00:00
parent 79f17a374a
commit 7599172836
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ tr_netBindTCP( const tr_address * addr, tr_port port, tr_bool suppressMsgs )
if( !suppressMsgs )
tr_err( _( "Couldn't bind port %d on %s: %s" ),
port, tr_ntop_non_ts( addr ), tr_strerror( err ) );
tr_netClose( fd );
EVUTIL_CLOSESOCKET( fd );
return -err;
}