summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index 45bbb71..c69cf2b 100644
--- a/channel.c
+++ b/channel.c
@@ -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;
}