diff options
author | ng0 <ng0@n0.is> | 2019-09-06 22:46:29 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-06 22:46:29 +0000 |
commit | 6e599264ad13e8fc105493d74d7c11d46f8739ed (patch) | |
tree | 169bef1ecbade5a659831fb169f3ae6943af127f /src/util/test_common_logging_runtime_loglevels.c | |
parent | 4f13bc15113021ebf71d5d81e99bc29f8a07fc9c (diff) | |
download | gnunet-6e599264ad13e8fc105493d74d7c11d46f8739ed.tar.gz gnunet-6e599264ad13e8fc105493d74d7c11d46f8739ed.zip |
first step to remove plibc
Diffstat (limited to 'src/util/test_common_logging_runtime_loglevels.c')
-rw-r--r-- | src/util/test_common_logging_runtime_loglevels.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c index 7c72acf7d..8da808760 100644 --- a/src/util/test_common_logging_runtime_loglevels.c +++ b/src/util/test_common_logging_runtime_loglevels.c | |||
@@ -237,7 +237,7 @@ read_call (void *cls) | |||
237 | buf_ptr += rd; | 237 | buf_ptr += rd; |
238 | bytes += rd; | 238 | bytes += rd; |
239 | #if VERBOSE | 239 | #if VERBOSE |
240 | FPRINTF (stderr, "got %d bytes, reading more\n", rd); | 240 | fprintf (stderr, "got %d bytes, reading more\n", rd); |
241 | #endif | 241 | #endif |
242 | read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, | 242 | read_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, |
243 | stdout_read_handle, | 243 | stdout_read_handle, |
@@ -247,7 +247,7 @@ read_call (void *cls) | |||
247 | } | 247 | } |
248 | 248 | ||
249 | #if VERBOSE | 249 | #if VERBOSE |
250 | FPRINTF (stderr, "bytes is %d:%s\n", bytes, buf); | 250 | fprintf (stderr, "bytes is %d:%s\n", bytes, buf); |
251 | #endif | 251 | #endif |
252 | 252 | ||
253 | /* +------CHILD OUTPUT-- | 253 | /* +------CHILD OUTPUT-- |
@@ -334,7 +334,7 @@ read_call (void *cls) | |||
334 | &bytes, &delays[7], level))) | 334 | &bytes, &delays[7], level))) |
335 | { | 335 | { |
336 | if (bytes == LOG_BUFFER_SIZE) | 336 | if (bytes == LOG_BUFFER_SIZE) |
337 | FPRINTF (stderr, "%s", "Ran out of buffer space!\n"); | 337 | fprintf (stderr, "%s", "Ran out of buffer space!\n"); |
338 | GNUNET_break (0); | 338 | GNUNET_break (0); |
339 | ok = 2; | 339 | ok = 2; |
340 | GNUNET_SCHEDULER_cancel (die_task); | 340 | GNUNET_SCHEDULER_cancel (die_task); |