Ignore:
Timestamp:
Jan 30, 2006, 2:13:40 AM (16 years ago)
Author:
titer
Message:

Removed now unused tables and some now unused code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peerparse.h

    r30 r61  
    269269    }
    270270
     271    tor->downloaded += r->length;
     272
    271273    block = tr_block( r->index, r->begin );
    272274    if( tr_cpBlockIsComplete( tor->completion, block ) )
     
    439441}
    440442
    441 static inline int parseBuf( tr_torrent_t * tor, tr_peer_t * peer,
    442                             int newBytes )
     443static inline int parseBuf( tr_torrent_t * tor, tr_peer_t * peer )
    443444{
    444445    tr_info_t * inf = &tor->info;
     
    524525        }
    525526
    526         /* That's a piece coming */
    527         if( p < end && *p == 7 )
    528         {
    529             /* XXX */
    530             tor->downloaded[9] += newBytes;
    531             peer->inTotal      += newBytes;
    532             newBytes            = 0;
    533         }
    534 
    535527        if( &p[len] > end )
    536528        {
Note: See TracChangeset for help on using the changeset viewer.