aboutsummaryrefslogtreecommitdiff
path: root/src/dv/test_transport_api_dv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dv/test_transport_api_dv.c')
-rw-r--r--src/dv/test_transport_api_dv.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/dv/test_transport_api_dv.c b/src/dv/test_transport_api_dv.c
index 8157d00e7..3e66388fe 100644
--- a/src/dv/test_transport_api_dv.c
+++ b/src/dv/test_transport_api_dv.c
@@ -534,14 +534,14 @@ init_notify_peer1 (void *cls,
534 * Connect to the receiving peer 534 * Connect to the receiving peer
535 */ 535 */
536 pos->peer2handle = GNUNET_CORE_connect (sched, 536 pos->peer2handle = GNUNET_CORE_connect (sched,
537 pos->peer2->cfg, 537 pos->peer2->cfg,
538 TIMEOUT, 538 TIMEOUT,
539 pos, 539 pos,
540 &init_notify_peer2, 540 &init_notify_peer2,
541 NULL, 541 NULL,
542 NULL, 542 NULL,
543 NULL, 543 NULL, NULL,
544 GNUNET_YES, NULL, GNUNET_YES, handlers); 544 GNUNET_YES, NULL, GNUNET_YES, handlers);
545 545
546} 546}
547 547
@@ -578,7 +578,7 @@ send_test_messages (void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc)
578 TIMEOUT, 578 TIMEOUT,
579 pos, 579 pos,
580 &init_notify_peer1, 580 &init_notify_peer1,
581 NULL, 581 NULL, NULL,
582 NULL, 582 NULL,
583 NULL, 583 NULL,
584 GNUNET_NO, NULL, GNUNET_NO, no_handlers); 584 GNUNET_NO, NULL, GNUNET_NO, no_handlers);
@@ -893,7 +893,7 @@ peers_started_callback (void *cls,
893 GNUNET_assert(GNUNET_SYSERR != GNUNET_CONTAINER_multihashmap_put(peer_daemon_hash, &id->hashPubKey, d, GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); 893 GNUNET_assert(GNUNET_SYSERR != GNUNET_CONTAINER_multihashmap_put(peer_daemon_hash, &id->hashPubKey, d, GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY));
894 894
895 new_peer = GNUNET_malloc(sizeof(struct PeerContext)); 895 new_peer = GNUNET_malloc(sizeof(struct PeerContext));
896 new_peer->peer_handle = GNUNET_CORE_connect(sched, cfg, GNUNET_TIME_UNIT_FOREVER_REL, d, NULL, &all_connect_handler, NULL, NULL, GNUNET_NO, NULL, GNUNET_NO, no_handlers); 896 new_peer->peer_handle = GNUNET_CORE_connect(sched, cfg, GNUNET_TIME_UNIT_FOREVER_REL, d, NULL, &all_connect_handler, NULL, NULL, NULL, GNUNET_NO, NULL, GNUNET_NO, no_handlers);
897 new_peer->daemon = d; 897 new_peer->daemon = d;
898 new_peer->next = all_peers; 898 new_peer->next = all_peers;
899 all_peers = new_peer; 899 all_peers = new_peer;