mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
add client Bittorrent Plus!
This commit is contained in:
parent
21f2eb9566
commit
ffc4c30d0d
1 changed files with 4 additions and 0 deletions
|
@ -203,6 +203,10 @@ char * tr_clientForId( uint8_t * id )
|
||||||
charToInt( id[3] ) * 10 + charToInt( id[4] ),
|
charToInt( id[3] ) * 10 + charToInt( id[4] ),
|
||||||
id[5], id[6] );
|
id[5], id[6] );
|
||||||
}
|
}
|
||||||
|
else if( !memcmp( id, "Plus", 4 ) )
|
||||||
|
{
|
||||||
|
asprintf( &ret, "Plus! %c.%c%c", id[4], id[5], id[6] );
|
||||||
|
}
|
||||||
else if( !memcmp( id, "XBT", 3 ) )
|
else if( !memcmp( id, "XBT", 3 ) )
|
||||||
{
|
{
|
||||||
asprintf( &ret, "XBT Client %c%c%c%s", id[3], id[4], id[5],
|
asprintf( &ret, "XBT Client %c%c%c%s", id[3], id[4], id[5],
|
||||||
|
|
Loading…
Reference in a new issue