From: Florian Dold Date: Thu, 2 May 2019 00:23:22 +0000 (+0200) Subject: benchmark: add up request size X-Git-Tag: v0.11.4~45 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b930db26d6b166404a3262687750e5aec2b3befc;p=oweals%2Fgnunet.git benchmark: add up request size --- 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,