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

add Electric Sheep to clients list

This commit is contained in:
Mitchell Livingston 2006-11-19 21:33:49 +00:00
parent 2adc37c087
commit de7bdd1a87

View file

@ -82,6 +82,11 @@ char * tr_clientForId( uint8_t * id )
asprintf( &ret, "libTorrent %c.%c.%c.%c", asprintf( &ret, "libTorrent %c.%c.%c.%c",
id[3], id[4], id[5], id[6] ); id[3], id[4], id[5], id[6] );
} }
else if( !memcmp( &id[1], "ES", 2 ) )
{
asprintf( &ret, "Electric Sheep %c.%c.%c",
id[3], id[4], id[5] );
}
} }
else if( !memcmp( &id[4], "----", 4 ) || !memcmp( &id[4], "--00", 4 ) ) else if( !memcmp( &id[4], "----", 4 ) || !memcmp( &id[4], "--00", 4 ) )
{ {