Ignore:
Timestamp:
Oct 27, 2007, 9:29:39 PM (15 years ago)
Author:
charles
Message:

compatability with older C copmilers (ticket #422, patch by fizz)

File:
1 edited

Legend:

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

    r3598 r3605  
    16931693    else {
    16941694        /* This peer is fastpeer-enabled, send it have-all or have-none if appropriate */
     1695        uint32_t peerProgress;
    16951696        float completion = tr_cpPercentComplete( m->torrent->completion );
    16961697        if ( completion == 0.0f ) {
     
    17011702            sendBitfield( m );
    17021703        }
    1703         uint32_t peerProgress = m->torrent->info.pieceCount * m->info->progress;
     1704        peerProgress = m->torrent->info.pieceCount * m->info->progress;
    17041705       
    17051706        if ( peerProgress < MAX_ALLOWED_SET_COUNT )
Note: See TracChangeset for help on using the changeset viewer.