mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
fix Bitlet and add new Limewire client id's
This commit is contained in:
parent
6bef7def52
commit
a223b7d6ea
1 changed files with 7 additions and 3 deletions
|
@ -236,9 +236,9 @@ char * tr_clientForId( const uint8_t * id )
|
|||
asprintf( &ret, "Pando %c.%c.%c.%c",
|
||||
id[3], id[4], id[5], id[6] );
|
||||
}
|
||||
else if( !memcmp( &id[1], "WT-", 3 ) )
|
||||
else if( !memcmp( &id[1], "LW", 2 ) )
|
||||
{
|
||||
asprintf( &ret, "BitLet" );
|
||||
asprintf( &ret, "LimeWire" );
|
||||
}
|
||||
|
||||
if( ret )
|
||||
|
@ -368,9 +368,13 @@ char * tr_clientForId( const uint8_t * id )
|
|||
{
|
||||
asprintf( &ret, "Blizzard Downloader %d.%d", id[3] + 1, id[4] );
|
||||
}
|
||||
else if( !memcmp( id, "-WT-", 4 ) )
|
||||
{
|
||||
asprintf( &ret, "BitLet" );
|
||||
}
|
||||
else if( !memcmp( id, "LIME", 4 ) )
|
||||
{
|
||||
asprintf( &ret, "Limewire" );
|
||||
asprintf( &ret, "LimeWire" );
|
||||
}
|
||||
else if( !memcmp( id, "-G3", 3 ) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue