1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00

According to azureus, bitspirit v0 is really v1.

This commit is contained in:
Josh Elsasser 2007-07-15 05:13:35 +00:00
parent 1e3248e54a
commit 9120508167

View file

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