diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-06-01 04:19:28 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-06-01 04:19:28 +0000 |
commit | 835f91d6d40508e146b23a5bac131df89cac3a3d (patch) | |
tree | 32d9e461079a0b8f482b95e9708419996962fcab | |
parent | e2361aa80095ea67038da9111f29fa018da2776d (diff) | |
download | mpd-835f91d6d40508e146b23a5bac131df89cac3a3d.tar.gz mpd-835f91d6d40508e146b23a5bac131df89cac3a3d.tar.xz mpd-835f91d6d40508e146b23a5bac131df89cac3a3d.zip |
do strcasecmp for detecting plugin type
git-svn-id: https://svn.musicpd.org/mpd/trunk@1274 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | src/inputPlugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugin.c b/src/inputPlugin.c index ee2b0c79c..2ee0d9a8d 100644 --- a/src/inputPlugin.c +++ b/src/inputPlugin.c @@ -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++; } |