1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

(trunk libT) Remove unused field: struct tr_peermsgs::peerSentBitfield

This commit is contained in:
Charles Kerr 2009-01-01 18:35:21 +00:00
parent e9f32d7523
commit e5fc032d9c

View file

@ -264,7 +264,6 @@ struct tr_incoming
*/ */
struct tr_peermsgs struct tr_peermsgs
{ {
tr_bool peerSentBitfield;
tr_bool peerSupportsPex; tr_bool peerSupportsPex;
tr_bool clientSentLtepHandshake; tr_bool clientSentLtepHandshake;
tr_bool peerSentLtepHandshake; tr_bool peerSentLtepHandshake;
@ -1465,7 +1464,6 @@ readBtMessage( tr_peermsgs * msgs, struct evbuffer * inbuf, size_t inlen, size_t
case BT_BITFIELD: case BT_BITFIELD:
{ {
dbgmsg( msgs, "got a bitfield" ); dbgmsg( msgs, "got a bitfield" );
msgs->peerSentBitfield = 1;
tr_peerIoReadBytes( msgs->peer->io, inbuf, msgs->peer->have->bits, msglen ); tr_peerIoReadBytes( msgs->peer->io, inbuf, msgs->peer->have->bits, msglen );
updatePeerProgress( msgs ); updatePeerProgress( msgs );
fireNeedReq( msgs ); fireNeedReq( msgs );