1
0
Fork 0
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:
Mitchell Livingston 2009-11-16 23:14:47 +00:00
parent 0780d04fa5
commit e0b9d93ea4

View file

@ -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] ) );