mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
add BTG to clients
This commit is contained in:
parent
494ca91fd6
commit
aa1705226c
2 changed files with 6 additions and 1 deletions
|
@ -148,6 +148,11 @@ char * tr_clientForId( uint8_t * id )
|
|||
{
|
||||
asprintf( &ret, "Arctic Torrent" );
|
||||
}
|
||||
else if( !memcmp( &id[1], "BG", 2 ) )
|
||||
{
|
||||
asprintf( &ret, "BTG %c.%c.%c.%c",
|
||||
id[3], id[4], id[5], id[6] );
|
||||
}
|
||||
|
||||
if( ret )
|
||||
{
|
||||
|
|
|
@ -136,7 +136,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
fLib = tr_init( "macosx" );
|
||||
fLib = tr_init("macosx");
|
||||
|
||||
fTorrents = [[NSMutableArray alloc] initWithCapacity: 10];
|
||||
fDisplayedTorrents = [[NSMutableArray alloc] initWithCapacity: 10];
|
||||
|
|
Loading…
Reference in a new issue