diff --git a/libtransmission/utils.c b/libtransmission/utils.c index b2c24d53f..95a655ee7 100644 --- a/libtransmission/utils.c +++ b/libtransmission/utils.c @@ -398,7 +398,7 @@ tr_strcasecmp( const char * a, const char * b ) #else while( *a && ( tolower( *(uint8_t*)a ) == tolower( *(uint8_t*)b ) ) ) ++a, ++b; - return tolower( *(uint8_t*)s1) - tolower(*(uint8_t*)s2 ); + return tolower( *(uint8_t*)a) - tolower(*(uint8_t*)b ); #endif }