1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 16:52:39 +00:00

add CTorrent to clients

This commit is contained in:
Mitchell Livingston 2007-03-31 00:14:32 +00:00
parent 18c690e825
commit f42bf86042

View file

@ -129,9 +129,15 @@ char * tr_clientForId( uint8_t * id )
}
else if( !memcmp( &id[1], "CD", 2 ) )
{
asprintf( &ret, "CTorrent %d.%d",
asprintf( &ret, "Enhanced CTorrent %d.%d",
charToInt( id[3] ) * 10 + charToInt( id[4] ),
charToInt( id[5] ) * 10 + charToInt( id[6] ) );
}
else if( !memcmp( &id[1], "CT", 2 ) )
{
asprintf( &ret, "CTorrent %c.%c.%d",
id[3], id[4],
charToInt( id[5] ) * 10 + charToInt( id[6] ) );
}
else if( !memcmp( &id[1], "LP", 2 ) )
{