mirror of
https://github.com/transmission/transmission
synced 2025-02-22 22:20:39 +00:00
Probably fixes the recent problem with disappearing peers
This commit is contained in:
parent
2bad2cae4b
commit
c1963147d3
1 changed files with 1 additions and 0 deletions
|
@ -311,6 +311,7 @@ static int SocketGetPriority( int s )
|
||||||
gSocketsCount--;
|
gSocketsCount--;
|
||||||
memmove( &gSockets[i], &gSockets[i+1],
|
memmove( &gSockets[i], &gSockets[i+1],
|
||||||
( gSocketsCount - i ) * sizeof( tr_socket_t ) );
|
( gSocketsCount - i ) * sizeof( tr_socket_t ) );
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
|
|
Loading…
Reference in a new issue