more fucking around with the speed measurements.

This commit is contained in:
Charles Kerr
2008-11-08 02:49:04 +00:00
parent 1f60b88573
commit 42fe27c067
17 changed files with 158 additions and 136 deletions

View File

@@ -282,9 +282,9 @@ getStatusStr( const tr_stat * st,
st->percentDone * 100.0,
st->peersSendingToUs,
st->peersConnected,
st->rateDownload,
st->pieceDownloadSpeed,
st->peersGettingFromUs,
st->rateUpload,
st->pieceUploadSpeed,
ratioStr );
}
else if( st->activity & TR_STATUS_SEED )
@@ -295,7 +295,7 @@ getStatusStr( const tr_stat * st,
buf, buflen,
"Seeding, uploading to %d of %d peer(s), %.0f KB/s [%s]",
st->peersGettingFromUs, st->peersConnected,
st->rateUpload, ratioStr );
st->pieceUploadSpeed, ratioStr );
}
else *buf = '\0';
}