/**
* HELLO address
*/
-struct GNUNET_HELLO_Address hello_address;
+struct GNUNET_HELLO_Address test_hello_address;
static void
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Destroying address for `%s'\n",
GNUNET_i2s (&address->peer));
/* Destroying address */
- GNUNET_ATS_address_destroyed (sched_ats, &hello_address, test_addr.session);
+ GNUNET_ATS_address_destroyed (sched_ats, &test_hello_address, test_addr.session);
/* Request address */
GNUNET_ATS_suggest_address (sched_ats, &p.id);
wait_task = GNUNET_SCHEDULER_add_delayed (WAIT_TIMEOUT, &end, NULL);
create_test_address (&test_addr, "test", NULL, "test", strlen ("test") + 1);
/* Adding address without session */
- hello_address.peer = p.id;
- hello_address.transport_name = test_addr.plugin;
- hello_address.address = test_addr.addr;
- hello_address.address_length = test_addr.addr_len;
- GNUNET_ATS_address_add (sched_ats, &hello_address, test_addr.session, NULL, 0);
+ test_hello_address.peer = p.id;
+ test_hello_address.transport_name = test_addr.plugin;
+ test_hello_address.address = test_addr.addr;
+ test_hello_address.address_length = test_addr.addr_len;
+ GNUNET_ATS_address_add (sched_ats, &test_hello_address, test_addr.session, NULL, 0);
/* Request address */
GNUNET_ATS_suggest_address (sched_ats, &p.id);