Ignore:
Timestamp:
Dec 19, 2007, 5:57:55 AM (15 years ago)
Author:
charles
Message:

fix an obscure bug in tr_torrentStat() where (% verified + % unverified + % unavailable) could be > 1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r4111 r4213  
    699699    assert( a->len == b->len );
    700700
    701     for( ait=a->bits, bit=b->bits, aend=ait+a->len; ait!=aend; ++ait, ++bit )
    702         *ait |= *bit;
     701    for( ait=a->bits, bit=b->bits, aend=ait+a->len; ait!=aend; )
     702        *ait++ |= *bit++;
    703703
    704704    return a;
Note: See TracChangeset for help on using the changeset viewer.