mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
(trunk libT) Remove unused field: struct tr_peermsgs::peerSentBitfield
This commit is contained in:
parent
e9f32d7523
commit
e5fc032d9c
1 changed files with 0 additions and 2 deletions
|
@ -264,7 +264,6 @@ struct tr_incoming
|
|||
*/
|
||||
struct tr_peermsgs
|
||||
{
|
||||
tr_bool peerSentBitfield;
|
||||
tr_bool peerSupportsPex;
|
||||
tr_bool clientSentLtepHandshake;
|
||||
tr_bool peerSentLtepHandshake;
|
||||
|
@ -1465,7 +1464,6 @@ readBtMessage( tr_peermsgs * msgs, struct evbuffer * inbuf, size_t inlen, size_t
|
|||
case BT_BITFIELD:
|
||||
{
|
||||
dbgmsg( msgs, "got a bitfield" );
|
||||
msgs->peerSentBitfield = 1;
|
||||
tr_peerIoReadBytes( msgs->peer->io, inbuf, msgs->peer->have->bits, msglen );
|
||||
updatePeerProgress( msgs );
|
||||
fireNeedReq( msgs );
|
||||
|
|
Loading…
Reference in a new issue