aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-05-02 02:23:22 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-05-02 02:23:22 +0200
commitb930db26d6b166404a3262687750e5aec2b3befc (patch)
tree9e6c67cc4e4e24ea7ed504e3d4c2ada5d710eebb
parent6aca750d325ff4058613d490d3e42e784d624dd3 (diff)
downloadgnunet-b930db26d6b166404a3262687750e5aec2b3befc.tar.gz
gnunet-b930db26d6b166404a3262687750e5aec2b3befc.zip
benchmark: add up request size
-rw-r--r--src/curl/curl.c4
1 files 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,
536 urd->count++; 536 urd->count++;
537 urd->time = GNUNET_TIME_relative_add (urd->time, total); 537 urd->time = GNUNET_TIME_relative_add (urd->time, total);
538 urd->time_max = GNUNET_TIME_relative_max (total, urd->time_max); 538 urd->time_max = GNUNET_TIME_relative_max (total, urd->time_max);
539 urd->bytes_sent = bytes_sent; 539 urd->bytes_sent += bytes_sent;
540 urd->bytes_received = bytes_received; 540 urd->bytes_received += bytes_received;
541 } 541 }
542#endif 542#endif
543 job->jcc (job->jcc_cls, 543 job->jcc (job->jcc_cls,