Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
transmission
transmission-data-corruption-ticket1242.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File transmission-data-corruption-ticket1242.patch of Package transmission
--- transmission-1.74/libtransmission/peer-msgs.c.bak 2010-03-24 16:12:53.221468955 -0500 +++ transmission-1.74/libtransmission/peer-msgs.c 2010-03-24 16:12:58.565468944 -0500 @@ -1573,7 +1573,6 @@ return EMSGSIZE; } - /* save the block */ dbgmsg( msgs, "got block %u:%u->%u", req->index, req->offset, req->length ); /** @@ -1598,6 +1597,10 @@ clientGotUnwantedBlock( msgs, req ); return 0; } + if( tr_cpPieceIsComplete( &msgs->torrent->completion, req->index ) ) { + dbgmsg( msgs, "we did ask for this message, but the piece is already complete..." ); + return 0; + } /** *** Save the block
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor