diff options
Diffstat (limited to 'channel.c')
-rw-r--r-- | channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ struct channel_t *channel_add(const char *name) { struct channel_t *channel = &channels[channel_count-1]; channel->name = strdup(name); channel->files = NULL; + memset(channel->hours, 0, 24*4 * sizeof(unsigned long)); return channel; } |