Changeset 4052


Ignore:
Timestamp:
Dec 3, 2007, 7:51:59 PM (15 years ago)
Author:
charles
Message:

small tweak to play nice with old C compilers. Thanks to fizz for reporting & submitting a patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9x/libtransmission/peer-msgs.c

    r4037 r4052  
    11981198           
    11991199        case BT_SUGGEST: {
     1200            const tr_bitfield * bt = tr_cpPieceBitfield( msgs->torrent->completion );
    12001201            dbgmsg( msgs, "Got a BT_SUGGEST" );
    12011202            tr_peerIoReadUint32( msgs->io, inbuf, &ui32 );
    1202             const tr_bitfield * bt = tr_cpPieceBitfield( msgs->torrent->completion );
    12031203            if( tr_bitfieldHas( bt, ui32 ) )
    12041204                tr_bitfieldAdd( msgs->clientSuggestedPieces, ui32 );
Note: See TracChangeset for help on using the changeset viewer.