2011-10-30 12:05:35 -04:00
|
|
|
$OpenBSD: patch-src_channel_c,v 1.2 2011/10/30 16:05:35 dcoppa Exp $
|
|
|
|
--- src/channel.c.orig Tue Oct 11 12:44:58 2011
|
|
|
|
+++ src/channel.c Sun Oct 30 16:33:19 2011
|
|
|
|
@@ -192,7 +192,7 @@ void Chan_init()
|
2011-04-03 08:04:47 -04:00
|
|
|
|
|
|
|
/* Channel links */
|
|
|
|
for (i = 0; ; i++) {
|
|
|
|
- channel_t *ch_src, *ch_dst, *ch_itr = NULL;
|
|
|
|
+ channel_t *ch_src = NULL, *ch_dst = NULL, *ch_itr = NULL;
|
|
|
|
if (Conf_getNextChannelLink(&chlink, i) < 0) {
|
|
|
|
if (i == 0)
|
|
|
|
Log_info("No channel links found in configuration file.");
|