mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
fix tr_strcasecmp in the case where HAVE_STRCASECMP is not defined
This commit is contained in:
parent
518f277e9f
commit
e8694f7f66
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue