Changeset 4053


Ignore:
Timestamp:
Dec 3, 2007, 7:52:55 PM (14 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
  • trunk/libtransmission/peer-msgs.c

    r4036 r4053  
    12001200           
    12011201        case BT_SUGGEST: {
     1202            const tr_bitfield * bt = tr_cpPieceBitfield( msgs->torrent->completion );
    12021203            dbgmsg( msgs, "Got a BT_SUGGEST" );
    12031204            tr_peerIoReadUint32( msgs->io, inbuf, &ui32 );
    1204             const tr_bitfield * bt = tr_cpPieceBitfield( msgs->torrent->completion );
    12051205            if( tr_bitfieldHas( bt, ui32 ) )
    12061206                tr_bitfieldAdd( msgs->clientSuggestedPieces, ui32 );
Note: See TracChangeset for help on using the changeset viewer.