diff options
| author | Anton <anton@picapica> | 2016-09-17 15:23:53 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2016-09-17 15:23:53 +0400 |
| commit | 41cd6ae48332c1ea8465e3a33db10e38103d1694 (patch) | |
| tree | 03900dc39100c6bbc1c221b3ab2740895d9329fe | |
| parent | 777de7af7c4b4908fbae325f9ff0a37bd9eb6c7a (diff) | |
| download | pica-pica-41cd6ae48332c1ea8465e3a33db10e38103d1694.tar.gz pica-pica-41cd6ae48332c1ea8465e3a33db10e38103d1694.zip | |
initialize direct_c2c fields of c2c struct
| -rw-r--r-- | PICA_client.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |
