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/dht | |
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/dht')
-rw-r--r-- | src/dht/dht_api.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_api.c | 4 | ||||
-rw-r--r-- | src/dht/test_dht_multipeer.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_get_put.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_path_tracking.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_put_get.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c index 2e89cf3eb..100a94523 100644 --- a/src/dht/dht_api.c +++ b/src/dht/dht_api.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include "gnunet_dht_service.h" | 34 | #include "gnunet_dht_service.h" |
35 | #include "dht.h" | 35 | #include "dht.h" |
36 | 36 | ||
37 | #define DEBUG_DHT_API GNUNET_NO | 37 | #define DEBUG_DHT_API GNUNET_EXTRA_LOGGING |
38 | 38 | ||
39 | /** | 39 | /** |
40 | * Entry in our list of messages to be (re-)transmitted. | 40 | * Entry in our list of messages to be (re-)transmitted. |
diff --git a/src/dht/test_dht_api.c b/src/dht/test_dht_api.c index 87e08d840..51f7d947c 100644 --- a/src/dht/test_dht_api.c +++ b/src/dht/test_dht_api.c | |||
@@ -34,9 +34,9 @@ | |||
34 | #include "gnunet_dht_service.h" | 34 | #include "gnunet_dht_service.h" |
35 | #include "gnunet_hello_lib.h" | 35 | #include "gnunet_hello_lib.h" |
36 | 36 | ||
37 | #define VERBOSE GNUNET_NO | 37 | #define VERBOSE GNUNET_EXTRA_LOGGING |
38 | 38 | ||
39 | #define VERBOSE_ARM GNUNET_NO | 39 | #define VERBOSE_ARM GNUNET_EXTRA_LOGGING |
40 | 40 | ||
41 | #define START_ARM GNUNET_YES | 41 | #define START_ARM GNUNET_YES |
42 | 42 | ||
diff --git a/src/dht/test_dht_multipeer.c b/src/dht/test_dht_multipeer.c index 75a7b42b5..296a19bca 100644 --- a/src/dht/test_dht_multipeer.c +++ b/src/dht/test_dht_multipeer.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "gnunet_dht_service.h" | 28 | #include "gnunet_dht_service.h" |
29 | 29 | ||
30 | /* DEFINES */ | 30 | /* DEFINES */ |
31 | #define VERBOSE GNUNET_NO | 31 | #define VERBOSE GNUNET_EXTRA_LOGGING |
32 | 32 | ||
33 | /* Timeout for entire testcase */ | 33 | /* Timeout for entire testcase */ |
34 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 30) | 34 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 30) |
diff --git a/src/dht/test_dht_twopeer.c b/src/dht/test_dht_twopeer.c index 9f13f5136..8947739c4 100644 --- a/src/dht/test_dht_twopeer.c +++ b/src/dht/test_dht_twopeer.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "gnunet_dht_service.h" | 28 | #include "gnunet_dht_service.h" |
29 | 29 | ||
30 | /* DEFINES */ | 30 | /* DEFINES */ |
31 | #define VERBOSE GNUNET_NO | 31 | #define VERBOSE GNUNET_EXTRA_LOGGING |
32 | 32 | ||
33 | #define MAX_GET_ATTEMPTS 10 | 33 | #define MAX_GET_ATTEMPTS 10 |
34 | 34 | ||
diff --git a/src/dht/test_dht_twopeer_get_put.c b/src/dht/test_dht_twopeer_get_put.c index 86ce546cc..2a79c9ffb 100644 --- a/src/dht/test_dht_twopeer_get_put.c +++ b/src/dht/test_dht_twopeer_get_put.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include "gnunet_signatures.h" | 44 | #include "gnunet_signatures.h" |
45 | 45 | ||
46 | /* DEFINES */ | 46 | /* DEFINES */ |
47 | #define VERBOSE GNUNET_NO | 47 | #define VERBOSE GNUNET_EXTRA_LOGGING |
48 | 48 | ||
49 | /* Timeout for entire testcase */ | 49 | /* Timeout for entire testcase */ |
50 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 40) | 50 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 40) |
diff --git a/src/dht/test_dht_twopeer_path_tracking.c b/src/dht/test_dht_twopeer_path_tracking.c index 5be36c4a1..f2d86e38e 100644 --- a/src/dht/test_dht_twopeer_path_tracking.c +++ b/src/dht/test_dht_twopeer_path_tracking.c | |||
@@ -28,7 +28,7 @@ | |||
28 | #include "gnunet_dht_service.h" | 28 | #include "gnunet_dht_service.h" |
29 | 29 | ||
30 | /* DEFINES */ | 30 | /* DEFINES */ |
31 | #define VERBOSE GNUNET_NO | 31 | #define VERBOSE GNUNET_EXTRA_LOGGING |
32 | 32 | ||
33 | /* Timeout for entire testcase */ | 33 | /* Timeout for entire testcase */ |
34 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5) | 34 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5) |
diff --git a/src/dht/test_dht_twopeer_put_get.c b/src/dht/test_dht_twopeer_put_get.c index 197a05006..44009c257 100644 --- a/src/dht/test_dht_twopeer_put_get.c +++ b/src/dht/test_dht_twopeer_put_get.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include "gnunet_signatures.h" | 44 | #include "gnunet_signatures.h" |
45 | 45 | ||
46 | /* DEFINES */ | 46 | /* DEFINES */ |
47 | #define VERBOSE GNUNET_NO | 47 | #define VERBOSE GNUNET_EXTRA_LOGGING |
48 | 48 | ||
49 | /* Timeout for entire testcase */ | 49 | /* Timeout for entire testcase */ |
50 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5) | 50 | #define TIMEOUT GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 5) |