aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_transport_plugin_cmd_udp_backchannel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_transport_plugin_cmd_udp_backchannel.c')
-rw-r--r--src/transport/test_transport_plugin_cmd_udp_backchannel.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/transport/test_transport_plugin_cmd_udp_backchannel.c b/src/transport/test_transport_plugin_cmd_udp_backchannel.c
index 11cd177c4..c98a3075d 100644
--- a/src/transport/test_transport_plugin_cmd_udp_backchannel.c
+++ b/src/transport/test_transport_plugin_cmd_udp_backchannel.c
@@ -160,9 +160,8 @@ handle_result (void *cls,
160 * 160 *
161 */ 161 */
162static void * 162static void *
163notify_connect (void *cls, 163notify_connect (struct GNUNET_TESTING_Interpreter *is,
164 const struct GNUNET_PeerIdentity *peer, 164 const struct GNUNET_PeerIdentity *peer)
165 struct GNUNET_MQ_Handle *mq)
166{ 165{
167 struct ConnectPeersState *cps; 166 struct ConnectPeersState *cps;
168 167
@@ -170,9 +169,8 @@ notify_connect (void *cls,
170 &cps); 169 &cps);
171 void *ret = NULL; 170 void *ret = NULL;
172 171
173 cps->notify_connect (cps, 172 cps->notify_connect (is,
174 peer, 173 peer);
175 mq);
176 return ret; 174 return ret;
177} 175}
178 176
@@ -238,7 +236,8 @@ start_testcase (TESTING_CMD_HELPER_write_cb write_message, char *router_ip,
238 else 236 else
239 num = (n_int - 1) * local_m_int + m_int + topology->nodes_x; 237 num = (n_int - 1) * local_m_int + m_int + topology->nodes_x;
240 238
241 block_send = GNUNET_TESTING_cmd_block_until_external_trigger ("block"); 239 block_send = GNUNET_TESTING_cmd_block_until_external_trigger (
240 "block");
242 connect_peers = GNUNET_TRANSPORT_cmd_connect_peers ("connect-peers", 241 connect_peers = GNUNET_TRANSPORT_cmd_connect_peers ("connect-peers",
243 "start-peer", 242 "start-peer",
244 "system-create", 243 "system-create",
@@ -251,11 +250,11 @@ start_testcase (TESTING_CMD_HELPER_write_cb write_message, char *router_ip,
251 GNUNET_asprintf (&ts->cfgname, 250 GNUNET_asprintf (&ts->cfgname,
252 "test_transport_api2_tcp_node1.conf"); 251 "test_transport_api2_tcp_node1.conf");
253 252
254 LOG (GNUNET_ERROR_TYPE_ERROR, 253 LOG (GNUNET_ERROR_TYPE_DEBUG,
255 "plugin cfgname: %s\n", 254 "plugin cfgname: %s\n",
256 ts->cfgname); 255 ts->cfgname);
257 256
258 LOG (GNUNET_ERROR_TYPE_ERROR, 257 LOG (GNUNET_ERROR_TYPE_DEBUG,
259 "node ip: %s\n", 258 "node ip: %s\n",
260 node_ip); 259 node_ip);
261 260