Ignore:
Timestamp:
Jan 31, 2007, 2:08:32 AM (15 years ago)
Author:
livings124
Message:

add Deluge and another Shareaza format to clients

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r1375 r1448  
    7272                      id[5], id[6] );
    7373        }
    74         else if( !memcmp( &id[1], "SZ", 2 ) )
     74        else if( !memcmp( &id[1], "SZ", 2 ) || !memcmp( &id[1], "S~", 2 ) )
    7575        {
    7676            asprintf( &ret, "Shareaza %c.%c.%c.%c",
     
    133133                      id[5], id[6] );
    134134        }
     135        else if( !memcmp( &id[1], "DE", 2 ) )
     136        {
     137            asprintf( &ret, "Deluge %d.%d.%d",
     138                      charToInt( id[3] ), charToInt( id[4] ),
     139                      charToInt( id[5] ) );
     140        }
    135141        else if( !memcmp( &id[1], "AR", 2 ) )
    136142        {
Note: See TracChangeset for help on using the changeset viewer.