aboutsummaryrefslogtreecommitdiff
path: root/src/nat/test_nat_test.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/nat/test_nat_test.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/nat/test_nat_test.c')
-rw-r--r--src/nat/test_nat_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nat/test_nat_test.c b/src/nat/test_nat_test.c
index 4095e840c..e86f2ed11 100644
--- a/src/nat/test_nat_test.c
+++ b/src/nat/test_nat_test.c
@@ -41,7 +41,7 @@ static struct GNUNET_NAT_Test *tst;
41 41
42static void 42static void
43report_result (void *cls, 43report_result (void *cls,
44 enum GNUNET_NAT_FailureCode aret) 44 enum GNUNET_NAT_StatusCode aret)
45{ 45{
46 if (GNUNET_NAT_ERROR_TIMEOUT == aret) 46 if (GNUNET_NAT_ERROR_TIMEOUT == aret)
47 fprintf (stderr, 47 fprintf (stderr,