mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
add CTorrent to clients
This commit is contained in:
parent
18c690e825
commit
f42bf86042
1 changed files with 7 additions and 1 deletions
|
@ -129,9 +129,15 @@ char * tr_clientForId( uint8_t * id )
|
||||||
}
|
}
|
||||||
else if( !memcmp( &id[1], "CD", 2 ) )
|
else if( !memcmp( &id[1], "CD", 2 ) )
|
||||||
{
|
{
|
||||||
asprintf( &ret, "CTorrent %d.%d",
|
asprintf( &ret, "Enhanced CTorrent %d.%d",
|
||||||
charToInt( id[3] ) * 10 + charToInt( id[4] ),
|
charToInt( id[3] ) * 10 + charToInt( id[4] ),
|
||||||
charToInt( id[5] ) * 10 + charToInt( id[6] ) );
|
charToInt( id[5] ) * 10 + charToInt( id[6] ) );
|
||||||
|
}
|
||||||
|
else if( !memcmp( &id[1], "CT", 2 ) )
|
||||||
|
{
|
||||||
|
asprintf( &ret, "CTorrent %c.%c.%d",
|
||||||
|
id[3], id[4],
|
||||||
|
charToInt( id[5] ) * 10 + charToInt( id[6] ) );
|
||||||
}
|
}
|
||||||
else if( !memcmp( &id[1], "LP", 2 ) )
|
else if( !memcmp( &id[1], "LP", 2 ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue