mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
better identify some versions of Bits on Wheels
This commit is contained in:
parent
a463c12bde
commit
049e1dbebf
1 changed files with 13 additions and 2 deletions
|
@ -72,10 +72,21 @@ char * tr_clientForId( uint8_t * id )
|
||||||
id[3], id[4], id[5], id[6] );
|
id[3], id[4], id[5], id[6] );
|
||||||
}
|
}
|
||||||
else if( !memcmp( &id[1], "BOW", 3 ) )
|
else if( !memcmp( &id[1], "BOW", 3 ) )
|
||||||
|
{
|
||||||
|
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)",
|
asprintf( &ret, "Bits on Wheels (%c%c%c)",
|
||||||
id[4], id[5], id[6] );
|
id[4], id[5], id[6] );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if( !memcmp( &id[1], "BR", 2 ) )
|
else if( !memcmp( &id[1], "BR", 2 ) )
|
||||||
{
|
{
|
||||||
asprintf( &ret, "BitRocket %c.%c (%d)",
|
asprintf( &ret, "BitRocket %c.%c (%d)",
|
||||||
|
|
Loading…
Reference in a new issue