Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
channels: do not allow empty string channel names, fixes #2628
  • Loading branch information
perexg committed Jan 20, 2015
1 parent aca5c6b commit a8a1751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/channels.c
Expand Up @@ -575,7 +575,7 @@ channel_set_tags_by_list ( channel_t *ch, htsmsg_t *tags )
const char *
channel_get_name ( channel_t *ch )
{
static const char *blank = "";
static const char *blank = "{name-not-set}";
const char *s;
channel_service_mapping_t *csm;
if (ch->ch_name && *ch->ch_name) return ch->ch_name;
Expand Down

0 comments on commit a8a1751

Please sign in to comment.