From b930db26d6b166404a3262687750e5aec2b3befc Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 2 May 2019 02:23:22 +0200 Subject: [PATCH] benchmark: add up request size --- src/curl/curl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/curl/curl.c b/src/curl/curl.c index 5e1c216ab..4bd2a55d0 100644 --- a/src/curl/curl.c +++ b/src/curl/curl.c @@ -536,8 +536,8 @@ GNUNET_CURL_perform2 (struct GNUNET_CURL_Context *ctx, urd->count++; urd->time = GNUNET_TIME_relative_add (urd->time, total); urd->time_max = GNUNET_TIME_relative_max (total, urd->time_max); - urd->bytes_sent = bytes_sent; - urd->bytes_received = bytes_received; + urd->bytes_sent += bytes_sent; + urd->bytes_received += bytes_received; } #endif job->jcc (job->jcc_cls, -- 2.25.1