Changeset 1309


Ignore:
Timestamp:
Jan 2, 2007, 3:46:47 AM (16 years ago)
Author:
livings124
Message:

better tornado-style client identification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r1308 r1309  
    4242    char * ret = NULL;
    4343   
    44     /* Azureus style */
     44    /* Azureus-style */
    4545    if( id[0] == '-' && id[7] == '-' )
    4646    {
     
    139139   
    140140    /* Tornado-style */
    141     if( !memcmp( &id[4], "----", 4 ) || !memcmp( &id[4], "--00", 4 ) )
     141    if( !memcmp( &id[4], "-----", 5 ) || !memcmp( &id[4], "--0", 3 ) )
    142142    {
    143143        if( id[0] == 'T' )
Note: See TracChangeset for help on using the changeset viewer.