[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: benchmark: add up request s
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: benchmark: add up request size |
Date: |
Thu, 02 May 2019 02:23:42 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new b930db26d benchmark: add up request size
b930db26d is described below
commit b930db26d6b166404a3262687750e5aec2b3befc
Author: Florian Dold <address@hidden>
AuthorDate: Thu May 2 02:23:22 2019 +0200
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,
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: benchmark: add up request size,
gnunet <=