Ignore:
Timestamp:
May 1, 2008, 3:56:10 PM (14 years ago)
Author:
livings124
Message:

the display of our own client's peer-id has to be 100% accurate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/clients.c

    r5728 r5736  
    141141            else if( !memcmp( id+3, "00", 2) ) /* previous client style: -TR0072- is 0.72 */
    142142                snprintf( buf, buflen, "Transmission 0.%02d", strint(id+5,2) );
    143             else /* current client style: -TR072Z- is 0.72 (Dev) */
    144                 snprintf( buf, buflen, "Transmission %d.%02d%s", strint(id+3,1), strint(id+4,2), getMnemonicEnd(id[6]) );
     143            else /* current client style: -TR111Z- is 1.11+ */
     144                snprintf( buf, buflen, "Transmission %d.%02d%s", strint(id+3,1), strint(id+4,2),
     145                          id[6]=='Z' || id[6]=='X' ? "+" : "" );
    145146        }
    146147
Note: See TracChangeset for help on using the changeset viewer.