Commit 835f91d6 authored by Warren Dukes's avatar Warren Dukes

do strcasecmp for detecting plugin type

git-svn-id: https://svn.musicpd.org/mpd/trunk@1274 09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent e2361aa8
...@@ -23,7 +23,7 @@ void unloadInputPlugin(InputPlugin * inputPlugin) { ...@@ -23,7 +23,7 @@ void unloadInputPlugin(InputPlugin * inputPlugin) {
static int stringFoundInStringArray(char ** array, char * suffix) { static int stringFoundInStringArray(char ** array, char * suffix) {
while(array && *array) { while(array && *array) {
if(strcmp(*array, suffix) == 0) return 1; if(strcasecmp(*array, suffix) == 0) return 1;
array++; array++;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment