diff options
Diffstat (limited to 'src/cadet/test_cadet.c')
-rw-r--r-- | src/cadet/test_cadet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c index 4fe43b3bf..3586b26ac 100644 --- a/src/cadet/test_cadet.c +++ b/src/cadet/test_cadet.c | |||
@@ -705,12 +705,12 @@ handle_data (void *cls, const struct GNUNET_MessageHeader *message) | |||
705 | /** | 705 | /** |
706 | * Method called whenever a peer connects to a port in MQ-based CADET. | 706 | * Method called whenever a peer connects to a port in MQ-based CADET. |
707 | * | 707 | * |
708 | * @param cls Closure from #GNUNET_CADET_open_porT (peer # as long). | 708 | * @param cls Closure from #GNUNET_CADET_open_port (peer # as long). |
709 | * @param channel New handle to the channel. | 709 | * @param channel New handle to the channel. |
710 | * @param source Peer that started this channel. | 710 | * @param source Peer that started this channel. |
711 | * @return Closure for the incoming @a channel. It's given to: | 711 | * @return Closure for the incoming @a channel. It's given to: |
712 | * - The #GNUNET_CADET_DisconnectEventHandler (given to | 712 | * - The #GNUNET_CADET_DisconnectEventHandler (given to |
713 | * #GNUNET_CADET_open_porT) when the channel dies. | 713 | * #GNUNET_CADET_open_port) when the channel dies. |
714 | * - Each the #GNUNET_MQ_MessageCallback handlers for each message | 714 | * - Each the #GNUNET_MQ_MessageCallback handlers for each message |
715 | * received on the @a channel. | 715 | * received on the @a channel. |
716 | */ | 716 | */ |
@@ -840,7 +840,7 @@ start_test (void *cls) | |||
840 | } | 840 | } |
841 | 841 | ||
842 | ch = GNUNET_new (struct CadetTestChannelWrapper); | 842 | ch = GNUNET_new (struct CadetTestChannelWrapper); |
843 | outgoing_ch = GNUNET_CADET_channel_creatE (h1, | 843 | outgoing_ch = GNUNET_CADET_channel_create (h1, |
844 | ch, | 844 | ch, |
845 | p_id[1], | 845 | p_id[1], |
846 | &port, | 846 | &port, |