From 6726988aecf3e7d96f48dd83550b90e24501bfd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Fri, 7 Dec 2007 07:53:27 +0000 Subject: [PATCH] we really want uniquename to be set --- channels.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/channels.c b/channels.c index 9e07f99d..a7935a39 100644 --- a/channels.c +++ b/channels.c @@ -17,7 +17,7 @@ */ #include - +#include #include #include #include @@ -261,6 +261,8 @@ transport_set_channel(th_transport_t *t, th_channel_t *ch) char pid[30]; char lang[30]; + + assert(t->tht_uniquename != NULL); t->tht_channel = ch; LIST_INSERT_SORTED(&ch->ch_transports, t, tht_channel_link, transportcmp);