diff options
Diffstat (limited to 'src/cadet/cadet_api.c')
-rw-r--r-- | src/cadet/cadet_api.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index 366e31405..497c9a4f0 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -391,6 +391,8 @@ destroy_channel_on_reconnect_cb (void *cls, | |||
391 | /* struct GNUNET_CADET_Handle *handle = cls; */ | 391 | /* struct GNUNET_CADET_Handle *handle = cls; */ |
392 | struct GNUNET_CADET_Channel *ch = value; | 392 | struct GNUNET_CADET_Channel *ch = value; |
393 | 393 | ||
394 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
395 | "Destroying channel due to reconnect\n"); | ||
394 | destroy_channel (ch); | 396 | destroy_channel (ch); |
395 | return GNUNET_OK; | 397 | return GNUNET_OK; |
396 | } | 398 | } |
@@ -1197,6 +1199,8 @@ destroy_channel_cb (void *cls, | |||
1197 | "channel %X not destroyed\n", | 1199 | "channel %X not destroyed\n", |
1198 | ntohl (ch->ccn.channel_of_client)); | 1200 | ntohl (ch->ccn.channel_of_client)); |
1199 | } | 1201 | } |
1202 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
1203 | "Destroying channel due to GNUNET_CADET_disconnect()\n"); | ||
1200 | destroy_channel (ch); | 1204 | destroy_channel (ch); |
1201 | return GNUNET_OK; | 1205 | return GNUNET_OK; |
1202 | } | 1206 | } |
@@ -1311,6 +1315,8 @@ GNUNET_CADET_channel_destroy (struct GNUNET_CADET_Channel *channel) | |||
1311 | GNUNET_MQ_send (h->mq, | 1315 | GNUNET_MQ_send (h->mq, |
1312 | env); | 1316 | env); |
1313 | } | 1317 | } |
1318 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | ||
1319 | "Destroying channel due to GNUNET_CADET_channel_destroy()\n"); | ||
1314 | destroy_channel (channel); | 1320 | destroy_channel (channel); |
1315 | } | 1321 | } |
1316 | 1322 | ||