add libtorrent to clients

This commit is contained in:
Mitchell Livingston 2006-12-19 15:23:48 +00:00
parent 38b3198613
commit 3d787a7e77
1 changed files with 6 additions and 0 deletions

View File

@ -97,6 +97,12 @@ char * tr_clientForId( uint8_t * id )
charToInt( id[3] ), charToInt( id[4] ),
charToInt( id[5] ), charToInt( id[6] ) );
}
else if( !memcmp( &id[1], "LT", 2 ) )
{
asprintf( &ret, "libtorrent %d.%d.%d.%d",
charToInt( id[3] ), charToInt( id[4] ),
charToInt( id[5] ), charToInt( id[6] ) );
}
else if( !memcmp( &id[1], "ES", 2 ) )
{
asprintf( &ret, "Electric Sheep %c.%c.%c",