Changeset 6204


Ignore:
Timestamp:
Jun 16, 2008, 10:15:53 PM (13 years ago)
Author:
charles
Message:

fix tr_strcasecmp in the case where HAVE_STRCASECMP is not defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r6203 r6204  
    399399    while( *a && ( tolower( *(uint8_t*)a ) == tolower( *(uint8_t*)b ) ) )
    400400        ++a, ++b;
    401     return tolower( *(uint8_t*)s1) - tolower(*(uint8_t*)s2 );
     401    return tolower( *(uint8_t*)a) - tolower(*(uint8_t*)b );
    402402#endif
    403403}
Note: See TracChangeset for help on using the changeset viewer.