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

better identify some versions of Bits on Wheels

This commit is contained in:
Mitchell Livingston 2007-04-19 06:22:37 +00:00
parent a463c12bde
commit 049e1dbebf

View file

@ -73,8 +73,19 @@ char * tr_clientForId( uint8_t * id )
}
else if( !memcmp( &id[1], "BOW", 3 ) )
{
asprintf( &ret, "Bits on Wheels (%c%c%c)",
id[4], id[5], id[6] );
if( !memcmp( &id[4], "A0C", 3 ) )
{
asprintf( &ret, "Bits on Wheels 1.0.6" );
}
else if( !memcmp( &id[4], "A0B", 3 ) )
{
asprintf( &ret, "Bits on Wheels 1.0.5" );
}
else
{
asprintf( &ret, "Bits on Wheels (%c%c%c)",
id[4], id[5], id[6] );
}
}
else if( !memcmp( &id[1], "BR", 2 ) )
{