mirror of
https://github.com/transmission/transmission
synced 2025-03-12 07:03:44 +00:00
add yet another BitSpirit peer id
This commit is contained in:
parent
0780d04fa5
commit
e0b9d93ea4
1 changed files with 4 additions and 0 deletions
|
@ -369,6 +369,10 @@ tr_clientForId( char * buf, size_t buflen, const void * id_in )
|
|||
{
|
||||
tr_snprintf( buf, buflen, "Blizzard Downloader %d.%d", id[3]+1, id[4] );
|
||||
}
|
||||
else if( !memcmp( id, "-SP", 3 ) )
|
||||
{
|
||||
three_digits( buf, buflen, "BitSpirit", id+3 );
|
||||
}
|
||||
else if( '\0' == id[0] && !memcmp( &id[1], "BS", 2 ) )
|
||||
{
|
||||
tr_snprintf( buf, buflen, "BitSpirit %u", ( id[1] == 0 ? 1 : id[1] ) );
|
||||
|
|
Loading…
Add table
Reference in a new issue