aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist')
-rw-r--r--src/playlist/SoundCloudPlaylistPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist/SoundCloudPlaylistPlugin.cxx b/src/playlist/SoundCloudPlaylistPlugin.cxx
index 99bef29e7..ee256f31f 100644
--- a/src/playlist/SoundCloudPlaylistPlugin.cxx
+++ b/src/playlist/SoundCloudPlaylistPlugin.cxx
@@ -175,7 +175,7 @@ static int handle_mapkey(void *ctx, const unsigned char* stringval,
data->key = Other;
for (i = 0; i < Other; ++i) {
- if (strncmp((const char *)stringval, key_str[i], stringlen) == 0) {
+ if (memcmp((const char *)stringval, key_str[i], stringlen) == 0) {
data->key = i;
break;
}