do strcasecmp for detecting plugin type
git-svn-id: https://svn.musicpd.org/mpd/trunk@1274 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
e2361aa800
commit
835f91d6d4
|
@ -23,7 +23,7 @@ void unloadInputPlugin(InputPlugin * inputPlugin) {
|
|||
|
||||
static int stringFoundInStringArray(char ** array, char * suffix) {
|
||||
while(array && *array) {
|
||||
if(strcmp(*array, suffix) == 0) return 1;
|
||||
if(strcasecmp(*array, suffix) == 0) return 1;
|
||||
array++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue