Changeset 1246


Ignore:
Timestamp:
Dec 17, 2006, 9:15:33 PM (15 years ago)
Author:
livings124
Message:

ctorrent client id

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r1241 r1246  
    102102                      id[3], id[4], id[5] );
    103103        }
     104        else if( !memcmp( &id[1], "CD", 2 ) )
     105        {
     106            asprintf( &ret, "CTorrent %d.%d",
     107                      charToInt( id[3] ) * 10 + charToInt( id[4] ),
     108                      charToInt( id[5] ) * 10 + charToInt( id[6] ) );
     109        }
    104110    }
    105111    else if( !memcmp( &id[4], "----", 4 ) || !memcmp( &id[4], "--00", 4 ) )
Note: See TracChangeset for help on using the changeset viewer.