From: Anand Tamariya Date: Sat, 9 Jan 2016 09:27:31 +0000 (+0530) Subject: Channel-EPG mapping should ignore case X-Git-Tag: v4.2.1~1164 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=319eb006165e6164ab6b445edde38e6f9f465788;p=thirdparty%2Ftvheadend.git Channel-EPG mapping should ignore case --- diff --git a/src/epggrab/channel.c b/src/epggrab/channel.c index 55527bb9b..56de09e27 100644 --- a/src/epggrab/channel.c +++ b/src/epggrab/channel.c @@ -82,13 +82,13 @@ int epggrab_channel_match_name ( epggrab_channel_t *ec, channel_t *ch ) if (name == NULL) return 0; - if (ec->name && !strcmp(ec->name, name)) + if (ec->name && !strcasecmp(ec->name, name)) return 1; if (ec->names) HTSMSG_FOREACH(f, ec->names) if ((s = htsmsg_field_get_str(f)) != NULL) - if (!strcmp(s, name)) + if (!strcasecmp(s, name)) return 1; return 0;