mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
fix tr_strcasecmp in the case where HAVE_STRCASECMP is not defined
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user