aboutsummaryrefslogtreecommitdiff
path: root/src/nat/test_nat_mini.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_mini.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_mini.c')
-rw-r--r--src/nat/test_nat_mini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nat/test_nat_mini.c b/src/nat/test_nat_mini.c
index e9dab8351..da6e09d76 100644
--- a/src/nat/test_nat_mini.c
+++ b/src/nat/test_nat_mini.c
@@ -45,7 +45,7 @@ static void
45addr_callback (void *cls, int add_remove, 45addr_callback (void *cls, int add_remove,
46 const struct sockaddr *addr, 46 const struct sockaddr *addr,
47 socklen_t addrlen, 47 socklen_t addrlen,
48 enum GNUNET_NAT_FailureCode ret) 48 enum GNUNET_NAT_StatusCode ret)
49{ 49{
50 if (GNUNET_NAT_ERROR_SUCCESS == ret) 50 if (GNUNET_NAT_ERROR_SUCCESS == ret)
51 { 51 {