aboutsummaryrefslogtreecommitdiff
path: root/src/dv/test_transport_api_dv.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-07 06:27:10 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-07 06:27:10 +0000
commitac2de52a5de68f6f4f13b7aa01a481869fffc6aa (patch)
tree856c9f0b2f55f8cae99f3c7b3bf22beaecbf58da /src/dv/test_transport_api_dv.c
parentc1a3c11f8665432d9db6d549c28c0329668e66af (diff)
downloadgnunet-ac2de52a5de68f6f4f13b7aa01a481869fffc6aa.tar.gz
gnunet-ac2de52a5de68f6f4f13b7aa01a481869fffc6aa.zip
hacks from trip
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;