mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
add Bitflu and FoxTorrent to clients
This commit is contained in:
parent
7100463899
commit
f09cc4c7f3
1 changed files with 12 additions and 0 deletions
|
@ -199,6 +199,18 @@ char * tr_clientForId( uint8_t * id )
|
||||||
charToInt( id[3] ), charToInt( id[4] ),
|
charToInt( id[3] ), charToInt( id[4] ),
|
||||||
charToInt( id[5] ) );
|
charToInt( id[5] ) );
|
||||||
}
|
}
|
||||||
|
else if( !memcmp( &id[1], "BF", 2 ) )
|
||||||
|
{
|
||||||
|
asprintf( &ret, "Bitflu (%d/%d/%02d)",
|
||||||
|
charToInt( id[6] ),
|
||||||
|
charToInt( id[4] ) * 10 + charToInt( id[5] ),
|
||||||
|
charToInt( id[3] ) );
|
||||||
|
}
|
||||||
|
else if( !memcmp( &id[1], "FT", 2 ) )
|
||||||
|
{
|
||||||
|
asprintf( &ret, "FoxTorrent (%c%c%c%c)",
|
||||||
|
id[3], id[4], id[5], id[6] );
|
||||||
|
}
|
||||||
|
|
||||||
if( ret )
|
if( ret )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue