aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/cadet_api.c')
-rw-r--r--src/cadet/cadet_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c
index c1a4807b5..48de33041 100644
--- a/src/cadet/cadet_api.c
+++ b/src/cadet/cadet_api.c
@@ -1683,6 +1683,8 @@ GNUNET_CADET_channel_destroy (struct GNUNET_CADET_Channel *channel)
1683 { 1683 {
1684 /* applications should cancel before destroying channel */ 1684 /* applications should cancel before destroying channel */
1685 GNUNET_break (0); 1685 GNUNET_break (0);
1686 LOG (GNUNET_ERROR_TYPE_WARNING,
1687 "Channel destroyed without cancelling transmission requests\n");
1686 th->notify (th->notify_cls, 0, NULL); 1688 th->notify (th->notify_cls, 0, NULL);
1687 } 1689 }
1688 GNUNET_CADET_notify_transmit_ready_cancel (th); 1690 GNUNET_CADET_notify_transmit_ready_cancel (th);