mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
add libtorrent to clients
This commit is contained in:
parent
38b3198613
commit
3d787a7e77
1 changed files with 6 additions and 0 deletions
|
@ -97,6 +97,12 @@ char * tr_clientForId( uint8_t * id )
|
||||||
charToInt( id[3] ), charToInt( id[4] ),
|
charToInt( id[3] ), charToInt( id[4] ),
|
||||||
charToInt( id[5] ), charToInt( id[6] ) );
|
charToInt( id[5] ), charToInt( id[6] ) );
|
||||||
}
|
}
|
||||||
|
else if( !memcmp( &id[1], "LT", 2 ) )
|
||||||
|
{
|
||||||
|
asprintf( &ret, "libtorrent %d.%d.%d.%d",
|
||||||
|
charToInt( id[3] ), charToInt( id[4] ),
|
||||||
|
charToInt( id[5] ), charToInt( id[6] ) );
|
||||||
|
}
|
||||||
else if( !memcmp( &id[1], "ES", 2 ) )
|
else if( !memcmp( &id[1], "ES", 2 ) )
|
||||||
{
|
{
|
||||||
asprintf( &ret, "Electric Sheep %c.%c.%c",
|
asprintf( &ret, "Electric Sheep %c.%c.%c",
|
||||||
|
|
Loading…
Reference in a new issue