summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-05-02 15:09:59 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2010-05-02 15:09:59 +0200
commit88dc4e335137f13cc4a3cd82c6d15a38c494e969 (patch)
treefa879a927d6c3c72f32e99a89aba57fd4b67a262 /channels.c
parentc19c63530e9eba17e39c14c987ee30793eb999dd (diff)
downloadvdr-88dc4e335137f13cc4a3cd82c6d15a38c494e969.tar.gz
vdr-88dc4e335137f13cc4a3cd82c6d15a38c494e969.tar.bz2
Fixed a crash when creating a new channel if the channel list is empty
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/channels.c b/channels.c
index a694d54a..58a42562 100644
--- a/channels.c
+++ b/channels.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.c 2.13 2010/02/21 13:36:04 kls Exp $
+ * $Id: channels.c 2.14 2010/05/02 15:07:38 kls Exp $
*/
#include "channels.h"
@@ -61,6 +61,7 @@ cChannel::cChannel(void)
provider = strdup("");
portalName = strdup("");
memset(&__BeginData__, 0, (char *)&__EndData__ - (char *)&__BeginData__);
+ parameters = "";
modification = CHANNELMOD_NONE;
schedule = NULL;
linkChannels = NULL;