diff options
-rw-r--r-- | src/cadet/gnunet-service-cadet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet.c b/src/cadet/gnunet-service-cadet.c index c8d69e43d..73e463e9b 100644 --- a/src/cadet/gnunet-service-cadet.c +++ b/src/cadet/gnunet-service-cadet.c | |||
@@ -1137,13 +1137,13 @@ channel_destroy_iterator (void *cls, | |||
1137 | GCCH_2s (ch), | 1137 | GCCH_2s (ch), |
1138 | GSC_2s (c)); | 1138 | GSC_2s (c)); |
1139 | ccn.channel_of_client = htonl (key); | 1139 | ccn.channel_of_client = htonl (key); |
1140 | GCCH_channel_local_destroy (ch, | ||
1141 | c, | ||
1142 | ccn); | ||
1143 | GNUNET_assert (GNUNET_YES == | 1140 | GNUNET_assert (GNUNET_YES == |
1144 | GNUNET_CONTAINER_multihashmap32_remove (c->channels, | 1141 | GNUNET_CONTAINER_multihashmap32_remove (c->channels, |
1145 | key, | 1142 | key, |
1146 | ch)); | 1143 | ch)); |
1144 | GCCH_channel_local_destroy (ch, | ||
1145 | c, | ||
1146 | ccn); | ||
1147 | return GNUNET_OK; | 1147 | return GNUNET_OK; |
1148 | } | 1148 | } |
1149 | 1149 | ||