From 7d95e8ba16596b5e10a7f5bf68bf7a1bf846d670 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 15 May 2020 16:29:18 +0200 Subject: WIP: test revert work-around --- nest/proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nest/proto.c b/nest/proto.c index ffc16617..5082922c 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -626,7 +626,7 @@ channel_copy_config(struct channel_config *src, struct proto_config *proto) struct channel_config *dst = cfg_alloc(src->channel->config_size); memcpy(dst, src, src->channel->config_size); - memset(&dst->n, 0, sizeof(dst->n)); + //memset(&dst->n, 0, sizeof(dst->n)); add_tail(&proto->channels, &dst->n); CALL(src->channel->copy_config, dst, src); -- cgit v1.2.3