mirror of
https://github.com/transmission/transmission
synced 2025-02-11 17:04:56 +00:00
Update 2005-12-11
This commit is contained in:
parent
fc3d61a46b
commit
ce24506f5e
1 changed files with 3 additions and 3 deletions
|
@ -183,8 +183,8 @@ int main( int argc, char ** argv )
|
||||||
else if( s[0].status & TR_STATUS_DOWNLOAD )
|
else if( s[0].status & TR_STATUS_DOWNLOAD )
|
||||||
{
|
{
|
||||||
chars = snprintf( string, 80,
|
chars = snprintf( string, 80,
|
||||||
"Progress: %.2f %%, %d peer%s, dl from %d (%.2f kbps), "
|
"Progress: %.2f %%, %d peer%s, dl from %d (%.2f KB/s), "
|
||||||
"ul to %d (%.2f kbps)", 100.0 * s[0].progress,
|
"ul to %d (%.2f KB/s)", 100.0 * s[0].progress,
|
||||||
s[0].peersTotal, ( s[0].peersTotal == 1 ) ? "" : "s",
|
s[0].peersTotal, ( s[0].peersTotal == 1 ) ? "" : "s",
|
||||||
s[0].peersUploading, s[0].rateDownload,
|
s[0].peersUploading, s[0].rateDownload,
|
||||||
s[0].peersDownloading, s[0].rateUpload );
|
s[0].peersDownloading, s[0].rateUpload );
|
||||||
|
@ -192,7 +192,7 @@ int main( int argc, char ** argv )
|
||||||
else if( s[0].status & TR_STATUS_SEED )
|
else if( s[0].status & TR_STATUS_SEED )
|
||||||
{
|
{
|
||||||
chars = snprintf( string, 80,
|
chars = snprintf( string, 80,
|
||||||
"Seeding, uploading to %d of %d peer(s), %.2f kbps",
|
"Seeding, uploading to %d of %d peer(s), %.2f KB/s",
|
||||||
s[0].peersDownloading, s[0].peersTotal,
|
s[0].peersDownloading, s[0].peersTotal,
|
||||||
s[0].rateUpload );
|
s[0].rateUpload );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue