mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
add BTG to clients
This commit is contained in:
@@ -148,6 +148,11 @@ char * tr_clientForId( uint8_t * id )
|
|||||||
{
|
{
|
||||||
asprintf( &ret, "Arctic Torrent" );
|
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 )
|
if( ret )
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -136,7 +136,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||||||
{
|
{
|
||||||
if ((self = [super init]))
|
if ((self = [super init]))
|
||||||
{
|
{
|
||||||
fLib = tr_init( "macosx" );
|
fLib = tr_init("macosx");
|
||||||
|
|
||||||
fTorrents = [[NSMutableArray alloc] initWithCapacity: 10];
|
fTorrents = [[NSMutableArray alloc] initWithCapacity: 10];
|
||||||
fDisplayedTorrents = [[NSMutableArray alloc] initWithCapacity: 10];
|
fDisplayedTorrents = [[NSMutableArray alloc] initWithCapacity: 10];
|
||||||
|
|||||||
Reference in New Issue
Block a user