1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

set properties for new files

This commit is contained in:
Mitchell Livingston 2007-10-06 22:24:50 +00:00
parent a635077abd
commit 8f7f65388e

View file

@ -390,9 +390,9 @@ char * tr_clientForId( const uint8_t * id )
{
asprintf( &ret, "eXeem" );
}
else if( '\0' == id[0] && 'B' == id[2] && 'S' == id[3] )
else if( '\0' == id[0] && !memcmp( &id[1], "BS", 2 ) )
{
asprintf( &ret, "BitSpirit v%u", ( 0 == id[1] ? 1 : id[1] ) );
asprintf( &ret, "BitSpirit %u", ( id[1] == 0 ? 1 : id[1] ) );
}
/* No match */