aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-01 04:19:28 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-01 04:19:28 +0000
commit835f91d6d40508e146b23a5bac131df89cac3a3d (patch)
tree32d9e461079a0b8f482b95e9708419996962fcab /src
parente2361aa80095ea67038da9111f29fa018da2776d (diff)
downloadmpd-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
Diffstat (limited to 'src')
-rw-r--r--src/inputPlugin.c2
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++;
}