aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_quota_compliance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r--src/transport/test_quota_compliance.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index 71332bf36..63bd7da02 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -601,8 +601,8 @@ notify_connect (void *cls, const struct GNUNET_PeerIdentity *peer,
601 GNUNET_SCHEDULER_cancel (tct); 601 GNUNET_SCHEDULER_cancel (tct);
602 tct = GNUNET_SCHEDULER_NO_TASK; 602 tct = GNUNET_SCHEDULER_NO_TASK;
603 } 603 }
604 GNUNET_TRANSPORT_get_hello_cancel (p2.th, &exchange_hello_last, &p2); 604 GNUNET_TRANSPORT_get_hello_cancel (p2.ghh);
605 GNUNET_TRANSPORT_get_hello_cancel (p1.th, &exchange_hello, &p1); 605 GNUNET_TRANSPORT_get_hello_cancel (p1.ghh);
606 if (is_asymmetric_send_constant == GNUNET_YES) 606 if (is_asymmetric_send_constant == GNUNET_YES)
607 measure (MEASUREMENT_MIN_QUOTA, MEASUREMENT_MAX_QUOTA); 607 measure (MEASUREMENT_MIN_QUOTA, MEASUREMENT_MAX_QUOTA);
608 else if (is_asymmetric_recv_constant == GNUNET_YES) 608 else if (is_asymmetric_recv_constant == GNUNET_YES)
@@ -776,8 +776,8 @@ run (void *cls, char *const *args, const char *cfgfile,
776 776
777 GNUNET_assert (p1.th != NULL); 777 GNUNET_assert (p1.th != NULL);
778 GNUNET_assert (p2.th != NULL); 778 GNUNET_assert (p2.th != NULL);
779 GNUNET_TRANSPORT_get_hello (p1.th, &exchange_hello, &p1); 779 p1.ghh = GNUNET_TRANSPORT_get_hello (p1.th, &exchange_hello, &p1);
780 GNUNET_TRANSPORT_get_hello (p2.th, &exchange_hello_last, &p2); 780 p2.ghh = GNUNET_TRANSPORT_get_hello (p2.th, &exchange_hello_last, &p2);
781 tct = GNUNET_SCHEDULER_add_now (&try_connect, NULL); 781 tct = GNUNET_SCHEDULER_add_now (&try_connect, NULL);
782} 782}
783 783