diff options
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/cadet_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 92dd39b97..e2ca461a5 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -1277,7 +1277,7 @@ GNUNET_CADET_close_port (struct GNUNET_CADET_Port *p) | |||
1277 | /** | 1277 | /** |
1278 | * Destroy an existing channel. | 1278 | * Destroy an existing channel. |
1279 | * | 1279 | * |
1280 | * The existing end callback for the channel will be called immediately. | 1280 | * The existing end callback for the channel will NOT be called. |
1281 | * Any pending outgoing messages will be sent but no incoming messages will be | 1281 | * Any pending outgoing messages will be sent but no incoming messages will be |
1282 | * accepted and no data callbacks will be called. | 1282 | * accepted and no data callbacks will be called. |
1283 | * | 1283 | * |
@@ -1300,6 +1300,7 @@ GNUNET_CADET_channel_destroy (struct GNUNET_CADET_Channel *channel) | |||
1300 | } | 1300 | } |
1301 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1301 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1302 | "Destroying channel due to GNUNET_CADET_channel_destroy()\n"); | 1302 | "Destroying channel due to GNUNET_CADET_channel_destroy()\n"); |
1303 | channel->disconnects = NULL; | ||
1303 | destroy_channel (channel); | 1304 | destroy_channel (channel); |
1304 | } | 1305 | } |
1305 | 1306 | ||