Changeset 1570


Ignore:
Timestamp:
Mar 16, 2007, 4:53:40 AM (15 years ago)
Author:
livings124
Message:

more accurate ktorrent client id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r1565 r1570  
    9595        else if( !memcmp( &id[1], "KT", 2 ) )
    9696        {
    97             asprintf( &ret, "KTorrent %c.%c.%c.%c",
    98                       id[3], id[4], id[5], id[6] );
     97            asprintf( &ret, "KTorrent %c.%c%s",
     98                      id[3], id[4],
     99                      ( id[5] == 'R' ? " RC" : ( id[5] == 'D' ? " Dev" : "") ) );
    99100        }
    100101        else if( !memcmp( &id[1], "lt", 2 ) )
Note: See TracChangeset for help on using the changeset viewer.