diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-23 14:31:40 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-23 14:31:40 +0100 |
commit | a970ad152fbc76fe3b641c02840c5a58348efbd6 (patch) | |
tree | 16445951efff2aea84c1697345fc5f6087a2dbc4 /src/cadet/gnunet-service-cadet-new_channel.c | |
parent | 55990396cd36175eef320e0ced826639e0945968 (diff) | |
download | gnunet-a970ad152fbc76fe3b641c02840c5a58348efbd6.tar.gz gnunet-a970ad152fbc76fe3b641c02840c5a58348efbd6.zip |
add sender argument to GCCH_handle_local_data so we can implement loopback
Diffstat (limited to 'src/cadet/gnunet-service-cadet-new_channel.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet-new_channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cadet/gnunet-service-cadet-new_channel.c b/src/cadet/gnunet-service-cadet-new_channel.c index e7a13157b..3d52c67af 100644 --- a/src/cadet/gnunet-service-cadet-new_channel.c +++ b/src/cadet/gnunet-service-cadet-new_channel.c | |||
@@ -1327,6 +1327,7 @@ data_sent_cb (void *cls) | |||
1327 | * buffer space in the tunnel. | 1327 | * buffer space in the tunnel. |
1328 | * | 1328 | * |
1329 | * @param ch Channel. | 1329 | * @param ch Channel. |
1330 | * @param sender client sending the data | ||
1330 | * @param buf payload to transmit. | 1331 | * @param buf payload to transmit. |
1331 | * @param buf_len number of bytes in @a buf | 1332 | * @param buf_len number of bytes in @a buf |
1332 | * @return #GNUNET_OK if everything goes well, | 1333 | * @return #GNUNET_OK if everything goes well, |
@@ -1334,6 +1335,7 @@ data_sent_cb (void *cls) | |||
1334 | */ | 1335 | */ |
1335 | int | 1336 | int |
1336 | GCCH_handle_local_data (struct CadetChannel *ch, | 1337 | GCCH_handle_local_data (struct CadetChannel *ch, |
1338 | struct CadetClient *sender, | ||
1337 | const char *buf, | 1339 | const char *buf, |
1338 | size_t buf_len) | 1340 | size_t buf_len) |
1339 | { | 1341 | { |