aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_reliability.c
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-09-06 22:46:29 +0000
committerng0 <ng0@n0.is>2019-09-06 22:46:29 +0000
commit6e599264ad13e8fc105493d74d7c11d46f8739ed (patch)
tree169bef1ecbade5a659831fb169f3ae6943af127f /src/core/test_core_api_reliability.c
parent4f13bc15113021ebf71d5d81e99bc29f8a07fc9c (diff)
downloadgnunet-6e599264ad13e8fc105493d74d7c11d46f8739ed.tar.gz
gnunet-6e599264ad13e8fc105493d74d7c11d46f8739ed.zip
first step to remove plibc
Diffstat (limited to 'src/core/test_core_api_reliability.c')
-rw-r--r--src/core/test_core_api_reliability.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index a2f7c0cf0..7bd4bfea0 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -147,7 +147,7 @@ do_shutdown (void *cls)
147 delta = GNUNET_TIME_absolute_get_duration (start_time).rel_value_us; 147 delta = GNUNET_TIME_absolute_get_duration (start_time).rel_value_us;
148 if (0 == delta) 148 if (0 == delta)
149 delta = 1; 149 delta = 1;
150 FPRINTF (stderr, 150 fprintf (stderr,
151 "\nThroughput was %llu kb/s\n", 151 "\nThroughput was %llu kb/s\n",
152 total_bytes * 1000000LL / 1024 / delta); 152 total_bytes * 1000000LL / 1024 / delta);
153 GAUGER ("CORE", 153 GAUGER ("CORE",
@@ -301,7 +301,7 @@ handle_test (void *cls,
301 (unsigned int) ntohs (hdr->header.size)); 301 (unsigned int) ntohs (hdr->header.size));
302 n++; 302 n++;
303 if (0 == (n % (TOTAL_MSGS / 100))) 303 if (0 == (n % (TOTAL_MSGS / 100)))
304 FPRINTF (stderr, 304 fprintf (stderr,
305 "%s", 305 "%s",
306 "."); 306 ".");
307 if (n == TOTAL_MSGS) 307 if (n == TOTAL_MSGS)