mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
add qBittorrent to clients
This commit is contained in:
parent
127a26bc7b
commit
91f7df5efd
1 changed files with 6 additions and 0 deletions
|
@ -182,6 +182,12 @@ char * tr_clientForId( uint8_t * id )
|
|||
asprintf( &ret, "BitBuddy %c.%c%c%c",
|
||||
id[3], id[4], id[5], id[6] );
|
||||
}
|
||||
else if( !memcmp( &id[1], "qB", 2 ) )
|
||||
{
|
||||
asprintf( &ret, "qBittorrent %d.%d.%d",
|
||||
charToInt( id[3] ), charToInt( id[4] ),
|
||||
charToInt( id[5] ) );
|
||||
}
|
||||
|
||||
if( ret )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue