diff options
author | Christian Fuchs <christian.fuchs@cfuchs.net> | 2014-06-17 10:35:26 +0000 |
---|---|---|
committer | Christian Fuchs <christian.fuchs@cfuchs.net> | 2014-06-17 10:35:26 +0000 |
commit | f82cdb61caf9955ea56c6df9448b95ec4e3aacd3 (patch) | |
tree | eed6d199b16a898db2cbf116037e41e0e0183299 /src/nat/test_nat_test.c | |
parent | 4ef7a6973707d2e5588372861197f7068737e765 (diff) | |
download | gnunet-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.c | 2 |
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 | ||
42 | static void | 42 | static void |
43 | report_result (void *cls, | 43 | report_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, |