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.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index 7d28820cb..f4bc6fc54 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -587,11 +587,6 @@ main (int argc, char *argv[])
587{ 587{
588 int nat_res; 588 int nat_res;
589 589
590 tth = GNUNET_TRANSPORT_TESTING_init ();
591
592 GNUNET_TRANSPORT_TESTING_get_test_source_name (__FILE__, &test_source);
593 GNUNET_TRANSPORT_TESTING_get_test_plugin_name (argv[0], test_source,
594 &test_plugin);
595 GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name); 590 GNUNET_TRANSPORT_TESTING_get_test_name (argv[0], &test_name);
596 591
597 GNUNET_log_setup (test_name, 592 GNUNET_log_setup (test_name,
@@ -602,6 +597,12 @@ main (int argc, char *argv[])
602#endif 597#endif
603 NULL); 598 NULL);
604 599
600 GNUNET_TRANSPORT_TESTING_get_test_source_name (__FILE__, &test_source);
601 GNUNET_TRANSPORT_TESTING_get_test_plugin_name (argv[0], test_source,
602 &test_plugin);
603
604 tth = GNUNET_TRANSPORT_TESTING_init ();
605
605 if ((strcmp (test_plugin, "tcp_nat") == 0) || 606 if ((strcmp (test_plugin, "tcp_nat") == 0) ||
606 (strcmp (test_plugin, "udp_nat") == 0)) 607 (strcmp (test_plugin, "udp_nat") == 0))
607 { 608 {