From 41cd6ae48332c1ea8465e3a33db10e38103d1694 Mon Sep 17 00:00:00 2001 From: Anton Date: Sat, 17 Sep 2016 15:23:53 +0400 Subject: initialize direct_c2c fields of c2c struct --- PICA_client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PICA_client.c b/PICA_client.c index c2eb54b..e6617ee 100644 --- a/PICA_client.c +++ b/PICA_client.c @@ -239,6 +239,8 @@ static int c2n_alloc_c2c(struct PICA_c2n *ci, struct PICA_c2c **chn, const unsig } chnl->state = PICA_C2C_STATE_NEW; + chnl->directc2c_config = PICA_DIRECTC2C_CFG_DISABLED; + chnl->directc2c_state = PICA_DIRECTC2C_STATE_NEW; return 1; } -- cgit v1.2.1