From 7caba06019ecc5775d3dbb513b70f52f620affb5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 9 Aug 2018 16:35:32 +0200 Subject: change CADET channel destroy API to not call the callback if the client initiated the channel's destruction --- src/include/gnunet_cadet_service.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/gnunet_cadet_service.h b/src/include/gnunet_cadet_service.h index 552763055..276fe4dbc 100644 --- a/src/include/gnunet_cadet_service.h +++ b/src/include/gnunet_cadet_service.h @@ -151,7 +151,7 @@ typedef void * /** - * Function called whenever an MQ-channel is destroyed, even if the destruction + * Function called whenever an MQ-channel is destroyed, unless the destruction * was requested by #GNUNET_CADET_channel_destroy. * It must NOT call #GNUNET_CADET_channel_destroy on the channel. * @@ -277,7 +277,7 @@ GNUNET_CADET_channel_create (struct GNUNET_CADET_Handle *h, /** * Destroy an existing channel. * - * The existing end callback for the channel will be called immediately. + * The existing end callback for the channel will NOT be called. * Any pending outgoing messages will be sent but no incoming messages will be * accepted and no data callbacks will be called. * -- cgit v1.2.3