Ignore:
Timestamp:
Jan 21, 2010, 5:10:00 AM (12 years ago)
Author:
charles
Message:

(trunk libT) #2777 "some magnet links get misparsed" -- fixed in trunk for 1.81

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r9890 r9988  
    898898    for( i=0; i<20; ++i )
    899899    {
    900         const int hi = strchr( hex, *in++ ) - hex;
    901         const int lo = strchr( hex, *in++ ) - hex;
     900        const int hi = strchr( hex, tolower( *in++ ) ) - hex;
     901        const int lo = strchr( hex, tolower( *in++ ) ) - hex;
    902902        *out++ = (uint8_t)( (hi<<4) | lo );
    903903    }
Note: See TracChangeset for help on using the changeset viewer.