Ignore:
Timestamp:
Dec 16, 2006, 2:39:12 AM (15 years ago)
Author:
livings124
Message:

a little better id conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r1235 r1236  
    2929static int charToInt( char character )
    3030{
    31     int value = character - '0';
    32    
     31    int value;
    3332    if( character >= 'A' && character <= 'Z' )
    34         value -= 7;
     33        value = 10 + character - 'A';
     34    else
     35        value = character - '0';
    3536   
    3637    return value;
Note: See TracChangeset for help on using the changeset viewer.