Probably fixes the recent problem with disappearing peers
This commit is contained in:
parent
2bad2cae4b
commit
c1963147d3
|
@ -311,6 +311,7 @@ static int SocketGetPriority( int s )
|
|||
gSocketsCount--;
|
||||
memmove( &gSockets[i], &gSockets[i+1],
|
||||
( gSocketsCount - i ) * sizeof( tr_socket_t ) );
|
||||
return ret;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue