From f82cdb61caf9955ea56c6df9448b95ec4e3aacd3 Mon Sep 17 00:00:00 2001 From: Christian Fuchs Date: Tue, 17 Jun 2014 10:35:26 +0000 Subject: - renamed NAT's failure code to status code across gnunet (not GTK yet) - added proper error reporting to NAT-test-start/stop - timed-out nat tests not automatically stop the test itself - fixed a design flaw in nat-test - fixed a potential crash in the tests of the nat functionality (NOT NAT_TEST_xy...) --- src/transport/gnunet-transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport/gnunet-transport.c') diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c index 8cd606f81..2f6604bdf 100644 --- a/src/transport/gnunet-transport.c +++ b/src/transport/gnunet-transport.c @@ -545,7 +545,7 @@ display_test_result (struct TestContext *tc, enum TestResult result) * @param emsg error message, NULL on success */ static void -result_callback (void *cls, enum GNUNET_NAT_FailureCode result) +result_callback (void *cls, enum GNUNET_NAT_StatusCode result) { struct TestContext *tc = cls; display_test_result (tc, result); -- cgit v1.2.3