diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-08-06 19:12:03 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-08-06 19:12:03 +0200 |
commit | 6b23a8225efed99498f891b589c7c5171567192b (patch) | |
tree | 252f57fe8fda82236de4fe26d8c75a89ff03b05f /src/cadet | |
parent | 1b0e7d3f59c3236aae3a64b7b19ee827eec4bb9c (diff) | |
download | gnunet-6b23a8225efed99498f891b589c7c5171567192b.tar.gz gnunet-6b23a8225efed99498f891b589c7c5171567192b.zip |
clarify incorrect comment identified by Alessio Vanni on the gnunet-developer mailinglist
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/cadet_api.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cadet/cadet_api.c b/src/cadet/cadet_api.c index ff6f15543..7148ab956 100644 --- a/src/cadet/cadet_api.c +++ b/src/cadet/cadet_api.c | |||
@@ -1050,9 +1050,9 @@ GNUNET_CADET_open_port (struct GNUNET_CADET_Handle *h, | |||
1050 | /** | 1050 | /** |
1051 | * Create a new channel towards a remote peer. | 1051 | * Create a new channel towards a remote peer. |
1052 | * | 1052 | * |
1053 | * If the destination port is not open by any peer or the destination peer | 1053 | * If the destination peer closes the channel after accepting it, |
1054 | * does not accept the channel, #GNUNET_CADET_ChannelEndHandler will be called | 1054 | * @a disconnects will be called for this channel (unless |
1055 | * for this channel. | 1055 | * #GNUNET_CADET_channel_destroy() was called on this end first). |
1056 | * | 1056 | * |
1057 | * @param h CADET handle. | 1057 | * @param h CADET handle. |
1058 | * @param channel_cls Closure for the channel. It's given to: | 1058 | * @param channel_cls Closure for the channel. It's given to: |
@@ -1060,7 +1060,6 @@ GNUNET_CADET_open_port (struct GNUNET_CADET_Handle *h, | |||
1060 | * - Each message type callback in @a handlers | 1060 | * - Each message type callback in @a handlers |
1061 | * @param destination Peer identity the channel should go to. | 1061 | * @param destination Peer identity the channel should go to. |
1062 | * @param port Identification of the destination port. | 1062 | * @param port Identification of the destination port. |
1063 | * @param options CadetOption flag field, with all desired option bits set to 1. | ||
1064 | * @param window_changes Function called when the transmit window size changes. | 1063 | * @param window_changes Function called when the transmit window size changes. |
1065 | * @param disconnects Function called when the channel is disconnected. | 1064 | * @param disconnects Function called when the channel is disconnected. |
1066 | * @param handlers Callbacks for messages we care about, NULL-terminated. | 1065 | * @param handlers Callbacks for messages we care about, NULL-terminated. |