diff options
Diffstat (limited to 'src/util/test_common_logging_runtime_loglevels.c')
-rw-r--r-- | src/util/test_common_logging_runtime_loglevels.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c index b82138492..2f5efa198 100644 --- a/src/util/test_common_logging_runtime_loglevels.c +++ b/src/util/test_common_logging_runtime_loglevels.c | |||
@@ -113,8 +113,8 @@ read_output_line (int phase_from1, int phase_to1, int phase_from2, | |||
113 | j = 0; | 113 | j = 0; |
114 | int stage = 0; | 114 | int stage = 0; |
115 | 115 | ||
116 | if (! ((phase >= phase_from1)&&(phase <= phase_to1)) && | 116 | if (! ((phase >= phase_from1) && (phase <= phase_to1)) && |
117 | ! ((phase >= phase_from2)&&(phase <= phase_to2))) | 117 | ! ((phase >= phase_from2) && (phase <= phase_to2))) |
118 | return p; | 118 | return p; |
119 | #if 0 | 119 | #if 0 |
120 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 120 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
@@ -196,6 +196,7 @@ read_output_line (int phase_from1, int phase_to1, int phase_from2, | |||
196 | return &r[i]; | 196 | return &r[i]; |
197 | } | 197 | } |
198 | 198 | ||
199 | |||
199 | /** | 200 | /** |
200 | * Up to 8 non-skipped GNUNET_log() calls | 201 | * Up to 8 non-skipped GNUNET_log() calls |
201 | * + extra line with delay for each one | 202 | * + extra line with delay for each one |
@@ -259,10 +260,9 @@ read_call (void *cls) | |||
259 | * | 7D * * * * * * * * | 260 | * | 7D * * * * * * * * |
260 | * | 8 * * * * | 261 | * | 8 * * * * |
261 | * | 9 * * * * | 262 | * | 9 * * * * |
262 | */ | 263 | */char *p = buf; |
263 | char *p = buf; | ||
264 | 264 | ||
265 | if ((bytes == LOG_BUFFER_SIZE)|| | 265 | if ((bytes == LOG_BUFFER_SIZE) || |
266 | ! (p = | 266 | ! (p = |
267 | read_output_line (0, 3, 4, 9, 'L', "ERROR", -1, | 267 | read_output_line (0, 3, 4, 9, 'L', "ERROR", -1, |
268 | 1, phase, p, | 268 | 1, phase, p, |
@@ -453,4 +453,5 @@ main (int argc, char *argv[]) | |||
453 | return ok; | 453 | return ok; |
454 | } | 454 | } |
455 | 455 | ||
456 | |||
456 | /* end of test_common_logging_runtime_loglevels.c */ | 457 | /* end of test_common_logging_runtime_loglevels.c */ |