Ignore:
Timestamp:
Oct 1, 2007, 2:50:51 AM (14 years ago)
Author:
livings124
Message:

fix Bitlet and add new Limewire client id's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r3238 r3244  
    237237                      id[3], id[4], id[5], id[6] );
    238238        }
    239         else if( !memcmp( &id[1], "WT-", 3 ) )
    240         {
    241             asprintf( &ret, "BitLet" );
     239        else if( !memcmp( &id[1], "LW", 2 ) )
     240        {
     241            asprintf( &ret, "LimeWire" );
    242242        }
    243243       
     
    369369        asprintf( &ret, "Blizzard Downloader %d.%d", id[3] + 1, id[4] );
    370370    }
     371    else if( !memcmp( id, "-WT-", 4 ) )
     372    {
     373        asprintf( &ret, "BitLet" );
     374    }
    371375    else if( !memcmp( id, "LIME", 4 ) )
    372376    {
    373         asprintf( &ret, "Limewire" );
     377        asprintf( &ret, "LimeWire" );
    374378    }
    375379    else if( !memcmp( id, "-G3", 3 ) )
Note: See TracChangeset for help on using the changeset viewer.