Replace:
/* otherwise go with our random seed / return tr_compareUint16( a->random, b->random ); With:
/ otherwise download the pieces in order */ return tr_compareUint16( a->piece, b->piece );
Replace:
/* otherwise go with our random seed / return tr_compareUint16( a->random, b->random ); With:
/ otherwise download the pieces in order */ return tr_compareUint16( a->piece, b->piece );