diff options
Diffstat (limited to 'src/cadet/cadet_api.c')
-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 85a8be522..980b9abbf 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -1273,7 +1273,7 @@ GNUNET_CADET_close_port (struct GNUNET_CADET_Port *p) | |||
1273 | /** | 1273 | /** |
1274 | * Destroy an existing channel. | 1274 | * Destroy an existing channel. |
1275 | * | 1275 | * |
1276 | * The existing end callback for the channel will be called immediately. | 1276 | * The existing end callback for the channel will NOT be called. |
1277 | * Any pending outgoing messages will be sent but no incoming messages will be | 1277 | * Any pending outgoing messages will be sent but no incoming messages will be |
1278 | * accepted and no data callbacks will be called. | 1278 | * accepted and no data callbacks will be called. |
1279 | * | 1279 | * |
@@ -1296,6 +1296,7 @@ GNUNET_CADET_channel_destroy (struct GNUNET_CADET_Channel *channel) | |||
1296 | } | 1296 | } |
1297 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1297 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1298 | "Destroying channel due to GNUNET_CADET_channel_destroy()\n"); | 1298 | "Destroying channel due to GNUNET_CADET_channel_destroy()\n"); |
1299 | channel->disconnects = NULL; | ||
1299 | destroy_channel (channel); | 1300 | destroy_channel (channel); |
1300 | } | 1301 | } |
1301 | 1302 | ||