diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-04 13:24:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-04 13:24:22 +0000 |
commit | a5d0694571db763efd0787a680168492f325b2e6 (patch) | |
tree | 1190488e92987d408c93d5b0edf9f0f48d47b81e /src/nat | |
parent | 4bc01ed4fb1083681966558efcbc069876cddcc3 (diff) | |
download | gnunet-a5d0694571db763efd0787a680168492f325b2e6.tar.gz gnunet-a5d0694571db763efd0787a680168492f325b2e6.zip |
LRN: Use GNUNET_EXTRA_LOGGING to manage compile-time logging calls
(#1805).
Diffstat (limited to 'src/nat')
-rw-r--r-- | src/nat/nat.h | 2 | ||||
-rw-r--r-- | src/nat/test_nat.c | 2 | ||||
-rw-r--r-- | src/nat/test_nat_mini.c | 2 | ||||
-rw-r--r-- | src/nat/test_nat_test.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/nat/nat.h b/src/nat/nat.h index dbb5263d4..a32fe0908 100644 --- a/src/nat/nat.h +++ b/src/nat/nat.h | |||
@@ -28,7 +28,7 @@ | |||
28 | #define NAT_H | 28 | #define NAT_H |
29 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
30 | 30 | ||
31 | #define DEBUG_NAT GNUNET_NO | 31 | #define DEBUG_NAT GNUNET_EXTRA_LOGGING |
32 | 32 | ||
33 | /** | 33 | /** |
34 | * Request to test NAT traversal. | 34 | * Request to test NAT traversal. |
diff --git a/src/nat/test_nat.c b/src/nat/test_nat.c index 784fc6cc7..19631af08 100644 --- a/src/nat/test_nat.c +++ b/src/nat/test_nat.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #include "gnunet_nat_lib.h" | 41 | #include "gnunet_nat_lib.h" |
42 | 42 | ||
43 | 43 | ||
44 | #define VERBOSE GNUNET_NO | 44 | #define VERBOSE GNUNET_EXTRA_LOGGING |
45 | 45 | ||
46 | 46 | ||
47 | /** | 47 | /** |
diff --git a/src/nat/test_nat_mini.c b/src/nat/test_nat_mini.c index 2c6da3b57..d4027ffcb 100644 --- a/src/nat/test_nat_mini.c +++ b/src/nat/test_nat_mini.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include "gnunet_nat_lib.h" | 36 | #include "gnunet_nat_lib.h" |
37 | 37 | ||
38 | 38 | ||
39 | #define VERBOSE GNUNET_NO | 39 | #define VERBOSE GNUNET_EXTRA_LOGGING |
40 | 40 | ||
41 | /* Time to wait before stopping NAT, in seconds */ | 41 | /* Time to wait before stopping NAT, in seconds */ |
42 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) | 42 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) |
diff --git a/src/nat/test_nat_test.c b/src/nat/test_nat_test.c index b3fb64221..0786bb04b 100644 --- a/src/nat/test_nat_test.c +++ b/src/nat/test_nat_test.c | |||
@@ -31,7 +31,7 @@ | |||
31 | #include "gnunet_nat_lib.h" | 31 | #include "gnunet_nat_lib.h" |
32 | 32 | ||
33 | 33 | ||
34 | #define VERBOSE GNUNET_NO | 34 | #define VERBOSE GNUNET_EXTRA_LOGGING |
35 | 35 | ||
36 | 36 | ||
37 | /** | 37 | /** |