diff options
Diffstat (limited to 'src/util/test_common_logging_runtime_loglevels.c')
-rw-r--r-- | src/util/test_common_logging_runtime_loglevels.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c index 21eb3c6c6..033b16ce1 100644 --- a/src/util/test_common_logging_runtime_loglevels.c +++ b/src/util/test_common_logging_runtime_loglevels.c | |||
@@ -234,7 +234,8 @@ read_call (void *cls) | |||
234 | FPRINTF (stderr, "got %d bytes, reading more\n", rd); | 234 | FPRINTF (stderr, "got %d bytes, reading more\n", rd); |
235 | #endif | 235 | #endif |
236 | read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, | 236 | read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, |
237 | stdout_read_handle, &read_call, | 237 | stdout_read_handle, |
238 | &read_call, | ||
238 | (void*) stdout_read_handle); | 239 | (void*) stdout_read_handle); |
239 | return; | 240 | return; |
240 | } | 241 | } |
@@ -411,7 +412,8 @@ runone () | |||
411 | 412 | ||
412 | die_task = | 413 | die_task = |
413 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply | 414 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply |
414 | (GNUNET_TIME_UNIT_SECONDS, 10), &end_task, | 415 | (GNUNET_TIME_UNIT_SECONDS, 10), |
416 | &end_task, | ||
415 | NULL); | 417 | NULL); |
416 | 418 | ||
417 | bytes = 0; | 419 | bytes = 0; |
@@ -419,7 +421,8 @@ runone () | |||
419 | memset (&buf, 0, sizeof (buf)); | 421 | memset (&buf, 0, sizeof (buf)); |
420 | 422 | ||
421 | read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, | 423 | read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, |
422 | stdout_read_handle, &read_call, | 424 | stdout_read_handle, |
425 | &read_call, | ||
423 | (void*) stdout_read_handle); | 426 | (void*) stdout_read_handle); |
424 | } | 427 | } |
425 | 428 | ||