diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-09 16:35:32 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-09 16:35:32 +0200 |
commit | 7caba06019ecc5775d3dbb513b70f52f620affb5 (patch) | |
tree | 93696c0ab1a31e3744fc375015fb0b6dbd95003d /src/include | |
parent | 1ded1c1bb3bcb16d1770f03b299fcaa0a0c2d813 (diff) | |
download | gnunet-7caba06019ecc5775d3dbb513b70f52f620affb5.tar.gz gnunet-7caba06019ecc5775d3dbb513b70f52f620affb5.zip |
change CADET channel destroy API to not call the callback if the client initiated the channel's destruction
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_cadet_service.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 * | |||
151 | 151 | ||
152 | 152 | ||
153 | /** | 153 | /** |
154 | * Function called whenever an MQ-channel is destroyed, even if the destruction | 154 | * Function called whenever an MQ-channel is destroyed, unless the destruction |
155 | * was requested by #GNUNET_CADET_channel_destroy. | 155 | * was requested by #GNUNET_CADET_channel_destroy. |
156 | * It must NOT call #GNUNET_CADET_channel_destroy on the channel. | 156 | * It must NOT call #GNUNET_CADET_channel_destroy on the channel. |
157 | * | 157 | * |
@@ -277,7 +277,7 @@ GNUNET_CADET_channel_create (struct GNUNET_CADET_Handle *h, | |||
277 | /** | 277 | /** |
278 | * Destroy an existing channel. | 278 | * Destroy an existing channel. |
279 | * | 279 | * |
280 | * The existing end callback for the channel will be called immediately. | 280 | * The existing end callback for the channel will NOT be called. |
281 | * Any pending outgoing messages will be sent but no incoming messages will be | 281 | * Any pending outgoing messages will be sent but no incoming messages will be |
282 | * accepted and no data callbacks will be called. | 282 | * accepted and no data callbacks will be called. |
283 | * | 283 | * |