From c986f80bb0fa0b2f7d56382a3967425bae41028f Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 5 Jun 2022 19:18:28 +0200 Subject: [PATCH] append even broken Channel configs to list otherwise perfectly fine Group defs will complain about invalid refs. we already do that with Store configs. --- src/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.c b/src/config.c index 1f423c6..2771a59 100644 --- a/src/config.c +++ b/src/config.c @@ -533,9 +533,9 @@ load_config( const char *where ) max_size = UINT_MAX; channel->stores[F]->max_size = channel->stores[N]->max_size = max_size; } - *channelapp = channel; - channelapp = &channel->next; } + *channelapp = channel; + channelapp = &channel->next; glob_ok = 0; goto reloop; } else if (!strcasecmp( "Group", cfile.cmd )) {