1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

show Blizzard Downloader actual version (this could become wrong in future versions)

This commit is contained in:
Mitchell Livingston 2007-05-21 15:25:28 +00:00
parent c00208a8f6
commit 1e44ce5e13

View file

@ -339,9 +339,9 @@ char * tr_clientForId( uint8_t * id )
asprintf( &ret, "BTQueue %d.%d.%d", charToInt( id[1] ),
charToInt( id[2] ), charToInt( id[3] ) );
}
else if( !memcmp( id, "BLZ", 3 ) ) /* 07 is 1.7, check later to find out how version is encoded */
else if( !memcmp( id, "BLZ", 3 ) )
{
asprintf( &ret, "Blizzard Downloader (%d%d)", id[3], id[4] );
asprintf( &ret, "Blizzard Downloader %d.%d", id[3] + 1, id[4] );
}
else if( !memcmp( id, "LIME", 4 ) )
{