Changeset 1263


Ignore:
Timestamp:
Dec 19, 2006, 4:30:34 PM (15 years ago)
Author:
livings124
Message:

JVTorrent client id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r1262 r1263  
    122122    }
    123123   
    124     /* Different formatting per client */
     124    /* Tornado-style */
    125125    if( !memcmp( &id[4], "----", 4 ) || !memcmp( &id[4], "--00", 4 ) )
    126126    {
     
    141141        }
    142142    }
     143   
     144    /* Different formatting per client */
    143145    if( id[0] == 'M' && id[2] == '-' && id[7] == '-' )
    144146    {
     
    203205        asprintf( &ret, "G3 Torrent" );
    204206    }
     207    else if( !memcmp( id, "10-------", 9 ) )
     208    {
     209        asprintf( &ret, "JVtorrent" );
     210    }
    205211
    206212    /* No match */
Note: See TracChangeset for help on using the changeset viewer.