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
1 changed files with 12 additions and 0 deletions

View File

@ -199,6 +199,18 @@ char * tr_clientForId( uint8_t * id )
charToInt( id[3] ), charToInt( id[4] ),
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 )
{