mirror of
https://github.com/transmission/transmission
synced 2025-02-03 04:53:27 +00:00
add Amazon S3 to clients list
This commit is contained in:
parent
ccb601787e
commit
2206c22eee
2 changed files with 10 additions and 4 deletions
2
NEWS
2
NEWS
|
@ -5,7 +5,7 @@ NEWS file for Transmission <http://www.transmissionbt.com/>
|
|||
+ Removing a transfer will remove the associated cache file
|
||||
- Mac:
|
||||
+ Window when adding torrents to select files and other settings
|
||||
+ Leopard: Group dividers
|
||||
+ Leopard: Collapsable group dividers
|
||||
+ Use the file icon as the per-torrent action button
|
||||
+ Updated images in the inspector
|
||||
+ Optional display of remaining time while seeding in Minimal View
|
||||
|
|
|
@ -252,7 +252,9 @@ char * tr_clientForId( const uint8_t * id )
|
|||
}
|
||||
else if( !memcmp( &id[1], "NX", 2 ) )
|
||||
{
|
||||
tr_asprintf( &ret, "Net Transport" );
|
||||
tr_asprintf( &ret, "Net Transport %d.%c.%c",
|
||||
charToInt( id[3] ) * 10 + charToInt( id[4] ),
|
||||
id[5], id[6] );
|
||||
}
|
||||
else if( !memcmp( &id[1], "LW", 2 ) )
|
||||
{
|
||||
|
@ -327,6 +329,10 @@ char * tr_clientForId( const uint8_t * id )
|
|||
return ret;
|
||||
}
|
||||
}
|
||||
if( !memcmp( id, "S3", 2 ) && id[2] == '-' && id[4] == '-' && id6] == '-' )
|
||||
{
|
||||
tr_asprintf( &ret, "Amazon S3 %c.%c.%c", id[3], id[5], id[7] );
|
||||
}
|
||||
|
||||
/* All versions of each client are formatted the same */
|
||||
if( !memcmp( id, "exbc", 4 ) )
|
||||
|
|
Loading…
Reference in a new issue