1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-11 08:54:55 +00:00

Update 2005-12-11

This commit is contained in:
Eric Petit 2006-01-12 18:50:20 +00:00
parent fc3d61a46b
commit ce24506f5e

View file

@ -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 );
} }