aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-transport.c
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2014-06-17 10:35:26 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2014-06-17 10:35:26 +0000
commitf82cdb61caf9955ea56c6df9448b95ec4e3aacd3 (patch)
treeeed6d199b16a898db2cbf116037e41e0e0183299 /src/transport/gnunet-transport.c
parent4ef7a6973707d2e5588372861197f7068737e765 (diff)
downloadgnunet-f82cdb61caf9955ea56c6df9448b95ec4e3aacd3.tar.gz
gnunet-f82cdb61caf9955ea56c6df9448b95ec4e3aacd3.zip
- 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...)
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r--src/transport/gnunet-transport.c2
1 files changed, 1 insertions, 1 deletions
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)
545 * @param emsg error message, NULL on success 545 * @param emsg error message, NULL on success
546 */ 546 */
547static void 547static void
548result_callback (void *cls, enum GNUNET_NAT_FailureCode result) 548result_callback (void *cls, enum GNUNET_NAT_StatusCode result)
549{ 549{
550 struct TestContext *tc = cls; 550 struct TestContext *tc = cls;
551 display_test_result (tc, result); 551 display_test_result (tc, result);