1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

add Bitflu and FoxTorrent to clients

This commit is contained in:
Mitchell Livingston 2007-04-30 01:29:00 +00:00
parent 7100463899
commit f09cc4c7f3

View file

@ -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 )
{ {