summaryrefslogtreecommitdiff
path: root/epgsearchext.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2014-01-11 09:59:59 +0100
committerChristian Wieninger <cwieninger@gmx.de>2014-01-11 09:59:59 +0100
commit29c174a529f76a000bb590dd03e7611ede43a14b (patch)
tree5fcaeb923b1ac290b858d8591822daa0032065c0 /epgsearchext.c
parent9448e86cf44103e5c67a177f7c4116d1e9e9292e (diff)
downloadvdr-plugin-epgsearch-29c174a529f76a000bb590dd03e7611ede43a14b.tar.gz
vdr-plugin-epgsearch-29c174a529f76a000bb590dd03e7611ede43a14b.tar.bz2
Use %m instead of %a in sscanf formats
Diffstat (limited to 'epgsearchext.c')
-rw-r--r--epgsearchext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epgsearchext.c b/epgsearchext.c
index db0a9a7..9d11c3b 100644
--- a/epgsearchext.c
+++ b/epgsearchext.c
@@ -478,7 +478,7 @@ bool cSearchExt::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)