mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
add bitrocket to the client id's (you have to acknowledge the competition...)
This commit is contained in:
parent
ea7759913d
commit
8aeb2fba5a
1 changed files with 5 additions and 0 deletions
|
@ -67,6 +67,11 @@ char * tr_clientForId( uint8_t * id )
|
||||||
asprintf( &ret, "Bits on Wheels (%c%c)",
|
asprintf( &ret, "Bits on Wheels (%c%c)",
|
||||||
id[5], id[6] );
|
id[5], id[6] );
|
||||||
}
|
}
|
||||||
|
else if( !memcmp( &id[1], "BR", 2 ) )
|
||||||
|
{
|
||||||
|
asprintf( &ret, "BitRocket %c.%c (%d)",
|
||||||
|
id[3], id[4], ( id[5] - '0' ) * 10 + ( id[6] - '0' ) );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if( !memcmp( &id[4], "----", 4 ) )
|
else if( !memcmp( &id[4], "----", 4 ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue