diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-18 19:24:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-18 19:24:33 +0100 |
commit | dfde8ea01a08a32340a47df29ffc2571c031488b (patch) | |
tree | 81abde784965de4a4d3f32f882a39353cc96a88d /src/cadet/gnunet-service-cadet_channel.c | |
parent | 3edc21c27d208e45dc1af76131a480a3ebf1e8d3 (diff) | |
download | gnunet-dfde8ea01a08a32340a47df29ffc2571c031488b.tar.gz gnunet-dfde8ea01a08a32340a47df29ffc2571c031488b.zip |
create matching connection objects for inbound connections
Diffstat (limited to 'src/cadet/gnunet-service-cadet_channel.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_channel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_channel.c b/src/cadet/gnunet-service-cadet_channel.c index 20ed582bd..dee0c37d7 100644 --- a/src/cadet/gnunet-service-cadet_channel.c +++ b/src/cadet/gnunet-service-cadet_channel.c | |||
@@ -216,7 +216,7 @@ struct CadetChannel | |||
216 | /** | 216 | /** |
217 | * Global channel number ( < GNUNET_CADET_LOCAL_CHANNEL_ID_CLI) | 217 | * Global channel number ( < GNUNET_CADET_LOCAL_CHANNEL_ID_CLI) |
218 | */ | 218 | */ |
219 | struct GNUNET_CADET_ChannelNumber gid; | 219 | struct GNUNET_CADET_ChannelTunnelNumber gid; |
220 | 220 | ||
221 | /** | 221 | /** |
222 | * Local tunnel number for root (owner) client. | 222 | * Local tunnel number for root (owner) client. |
@@ -1398,7 +1398,7 @@ GCCH_destroy (struct CadetChannel *ch) | |||
1398 | * | 1398 | * |
1399 | * @return ID used to identify the channel with the remote peer. | 1399 | * @return ID used to identify the channel with the remote peer. |
1400 | */ | 1400 | */ |
1401 | struct GNUNET_CADET_ChannelNumber | 1401 | struct GNUNET_CADET_ChannelTunnelNumber |
1402 | GCCH_get_id (const struct CadetChannel *ch) | 1402 | GCCH_get_id (const struct CadetChannel *ch) |
1403 | { | 1403 | { |
1404 | return ch->gid; | 1404 | return ch->gid; |
@@ -2154,7 +2154,7 @@ GCCH_handle_create (struct CadetTunnel *t, | |||
2154 | const struct GNUNET_CADET_ChannelOpenMessage *msg) | 2154 | const struct GNUNET_CADET_ChannelOpenMessage *msg) |
2155 | { | 2155 | { |
2156 | struct GNUNET_CADET_ClientChannelNumber chid; | 2156 | struct GNUNET_CADET_ClientChannelNumber chid; |
2157 | struct GNUNET_CADET_ChannelNumber gid; | 2157 | struct GNUNET_CADET_ChannelTunnelNumber gid; |
2158 | struct CadetChannel *ch; | 2158 | struct CadetChannel *ch; |
2159 | struct CadetClient *c; | 2159 | struct CadetClient *c; |
2160 | int new_channel; | 2160 | int new_channel; |