diff options
Diffstat (limited to 'src/transport/transport_api_cmd_connecting_peers.c')
-rw-r--r-- | src/transport/transport_api_cmd_connecting_peers.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/transport/transport_api_cmd_connecting_peers.c b/src/transport/transport_api_cmd_connecting_peers.c index 297b90864..06e2b8d61 100644 --- a/src/transport/transport_api_cmd_connecting_peers.c +++ b/src/transport/transport_api_cmd_connecting_peers.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "gnunet_testing_ng_lib.h" | 28 | #include "gnunet_testing_ng_lib.h" |
29 | #include "gnunet_transport_application_service.h" | 29 | #include "gnunet_transport_application_service.h" |
30 | #include "gnunet_hello_lib.h" | 30 | #include "gnunet_hello_lib.h" |
31 | #include "gnunet_transport_service.h" | ||
31 | 32 | ||
32 | /** | 33 | /** |
33 | * Generic logging shortcut | 34 | * Generic logging shortcut |
@@ -59,8 +60,8 @@ connect_peers_run (void *cls, | |||
59 | enum GNUNET_NetworkType nt = 0; | 60 | enum GNUNET_NetworkType nt = 0; |
60 | 61 | ||
61 | peer1_cmd = GNUNET_TESTING_interpreter_lookup_command (cps->peer1_label); | 62 | peer1_cmd = GNUNET_TESTING_interpreter_lookup_command (cps->peer1_label); |
62 | GNUNET_TESTING_get_trait_application_handle (peer1_cmd, | 63 | GNUNET_TRANSPORT_get_trait_application_handle (peer1_cmd, |
63 | &ah); | 64 | &ah); |
64 | 65 | ||
65 | GNUNET_TESTING_get_trait_hello (peer1_cmd, | 66 | GNUNET_TESTING_get_trait_hello (peer1_cmd, |
66 | &hello); | 67 | &hello); |
@@ -154,9 +155,9 @@ connect_peers_cleanup (void *cls, | |||
154 | * @return command. | 155 | * @return command. |
155 | */ | 156 | */ |
156 | struct GNUNET_TESTING_Command | 157 | struct GNUNET_TESTING_Command |
157 | GNUNET_TESTING_cmd_connect_peers (const char *label, | 158 | GNUNET_TRANSPORT_cmd_connect_peers (const char *label, |
158 | const char *peer1_label, | 159 | const char *peer1_label, |
159 | const char *peer2_label) | 160 | const char *peer2_label) |
160 | { | 161 | { |
161 | struct ConnectPeersState *cps; | 162 | struct ConnectPeersState *cps; |
162 | 163 | ||