add CTorrent to clients

This commit is contained in:
Mitchell Livingston 2007-03-31 00:14:32 +00:00
parent 18c690e825
commit f42bf86042
1 changed files with 7 additions and 1 deletions

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 ) )
{