Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Channel-EPG mapping should ignore case
  • Loading branch information
atamariya authored and perexg committed Jan 18, 2016
1 parent 165f390 commit 319eb00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/epggrab/channel.c
Expand Up @@ -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;
Expand Down

0 comments on commit 319eb00

Please sign in to comment.