diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-11 09:48:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-11 09:48:15 +0000 |
commit | 08d7c225934a1f47356c0df313ae5d0a3eccb705 (patch) | |
tree | 5ab9b3a9770a778c83c9bb6ca7a4b70579bee479 /src/util | |
parent | d9d94d0e53d26af75ec8241383d166544ebd79f3 (diff) | |
download | gnunet-08d7c225934a1f47356c0df313ae5d0a3eccb705.tar.gz gnunet-08d7c225934a1f47356c0df313ae5d0a3eccb705.zip |
reudce insanity
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/test_common_logging_runtime_loglevels.c | 2 | ||||
-rw-r--r-- | src/util/test_configuration.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c index 388f74ec1..6485e4e4a 100644 --- a/src/util/test_common_logging_runtime_loglevels.c +++ b/src/util/test_common_logging_runtime_loglevels.c | |||
@@ -85,8 +85,10 @@ read_output_line (int phase_from1, int phase_to1, int phase_from2, | |||
85 | if (!(phase >= phase_from1 && phase <= phase_to1) && | 85 | if (!(phase >= phase_from1 && phase <= phase_to1) && |
86 | !(phase >= phase_from2 && phase <= phase_to2)) | 86 | !(phase >= phase_from2 && phase <= phase_to2)) |
87 | return p; | 87 | return p; |
88 | #if 0 | ||
88 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 89 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
89 | "Trying to match '%c%s \\d\\r\\n' on %s\n", c, expect_level, p); | 90 | "Trying to match '%c%s \\d\\r\\n' on %s\n", c, expect_level, p); |
91 | #endif | ||
90 | for (i = 0; i < *len && !stop; i++) | 92 | for (i = 0; i < *len && !stop; i++) |
91 | { | 93 | { |
92 | switch (stage) | 94 | switch (stage) |
diff --git a/src/util/test_configuration.c b/src/util/test_configuration.c index 1c40f06f6..4a993923b 100644 --- a/src/util/test_configuration.c +++ b/src/util/test_configuration.c | |||
@@ -133,7 +133,7 @@ diffsCallBack (void *cls, const char *section, const char *option, | |||
133 | GNUNET_free_non_null (diffValue); | 133 | GNUNET_free_non_null (diffValue); |
134 | break; | 134 | break; |
135 | } | 135 | } |
136 | #if DEBUG | 136 | #if 0 |
137 | case PRINT: | 137 | case PRINT: |
138 | if (NULL == cbData->section) | 138 | if (NULL == cbData->section) |
139 | { | 139 | { |
@@ -254,7 +254,7 @@ checkDiffs (struct GNUNET_CONFIGURATION_Handle *cfgDefault, int option) | |||
254 | "Incorrect Configuration Diffs: Data may be missing in diffs\n"); | 254 | "Incorrect Configuration Diffs: Data may be missing in diffs\n"); |
255 | 255 | ||
256 | housekeeping: | 256 | housekeeping: |
257 | #if DEBUG | 257 | #if 0 |
258 | cbData.section = NULL; | 258 | cbData.section = NULL; |
259 | cbData.callBackOption = PRINT; | 259 | cbData.callBackOption = PRINT; |
260 | printf ("\nExpected Diffs:\n"); | 260 | printf ("\nExpected Diffs:\n"); |