(trunk libT) tweak high/normal/low priority peer bandwidth allocation

This commit is contained in:
Charles Kerr 2009-11-10 19:35:06 +00:00
parent 1f0fdba2e8
commit 6ad33534e7
1 changed files with 3 additions and 3 deletions

View File

@ -268,9 +268,9 @@ tr_bandwidthAllocate( tr_bandwidth * b,
tr_peerIoFlushOutgoingProtocolMsgs( io );
switch( io->priority ) {
case TR_PRI_HIGH: tr_ptrArrayAppend( &high, io ); break;
case TR_PRI_LOW: tr_ptrArrayAppend( &low, io ); break;
default: tr_ptrArrayAppend( &normal, io ); break;
case TR_PRI_HIGH: tr_ptrArrayAppend( &high, io ); /* fall through */
case TR_PRI_NORMAL: tr_ptrArrayAppend( &normal, io ); /* fall through */
default: tr_ptrArrayAppend( &low, io );
}
}