summaryrefslogtreecommitdiff
path: root/blacklist.c
diff options
context:
space:
mode:
Diffstat (limited to 'blacklist.c')
-rw-r--r--blacklist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/blacklist.c b/blacklist.c
index c36f35d..f6fd471 100644
--- a/blacklist.c
+++ b/blacklist.c
@@ -329,7 +329,7 @@ bool cBlacklist::Parse(const char *s)
#else
char *channelMinbuffer = NULL;
char *channelMaxbuffer = NULL;
- int channels = sscanf(value, "%a[^|]|%a[^|]", &channelMinbuffer, &channelMaxbuffer);
+ int channels = sscanf(value, "%m[^|]|%m[^|]", &channelMinbuffer, &channelMaxbuffer);
#endif
channelMin = Channels.GetByChannelID(tChannelID::FromString(channelMinbuffer), true, true);
if (!channelMin)