mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
added lphant client
This commit is contained in:
parent
34fbe3a79a
commit
21f2eb9566
1 changed files with 6 additions and 0 deletions
|
@ -114,6 +114,12 @@ char * tr_clientForId( uint8_t * id )
|
||||||
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], "LP", 2 ) )
|
||||||
|
{
|
||||||
|
asprintf( &ret, "Lphant %d.%c%c",
|
||||||
|
charToInt( id[3] ) * 10 + charToInt( id[4] ),
|
||||||
|
id[5], id[6] );
|
||||||
|
}
|
||||||
|
|
||||||
if( ret )
|
if( ret )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue