define as activity as when uploading/downloading occurs
This commit is contained in:
parent
0397fbd6dd
commit
5441c5e145
|
@ -336,7 +336,11 @@ int tr_peerRead( tr_peer_t * peer )
|
||||||
{
|
{
|
||||||
tr_rcTransferred( tor->handle->download, ret );
|
tr_rcTransferred( tor->handle->download, ret );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( !tr_peerAmChoking( peer ) )
|
||||||
|
{
|
||||||
tor->activityDate = date;
|
tor->activityDate = date;
|
||||||
|
}
|
||||||
|
|
||||||
if( ( ret = parseBuf( tor, peer ) ) )
|
if( ( ret = parseBuf( tor, peer ) ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue