diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-13 19:18:00 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-13 19:18:00 +0200 |
commit | afe77605ece37e240b79ca0578a2dd95d856b54f (patch) | |
tree | 1aaa5a4f6b36715e2d6599f13a13cf12350c69d8 | |
parent | 7ce988f356461caf32bb409bcf2cd48a749bfccb (diff) |
off is off, should be rc
-rw-r--r-- | src/gns/gns.conf.in | 2 | ||||
-rw-r--r-- | src/gns/gnunet-gns-benchmark.c | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/gns/gns.conf.in b/src/gns/gns.conf.in index 2e49a4c60d..f7682cda70 100644 --- a/src/gns/gns.conf.in +++ b/src/gns/gns.conf.in @@ -26,7 +26,7 @@ INTERCEPT_DNS = YES # Zones .pin = DWJASSPE33MRN8T6Q0PENRNBTQY0E6ZYGTRCDP5DGPBF2CRJMJEG - +.fr = TFDAXBXMAN40MCG4E8Y9Y1C6D16JCMDPH2VMD30KMB92SECEMYGG [gns-proxy] BINARY = gnunet-gns-proxy diff --git a/src/gns/gnunet-gns-benchmark.c b/src/gns/gnunet-gns-benchmark.c index 630add3d96..1ccd2c48c7 100644 --- a/src/gns/gnunet-gns-benchmark.c +++ b/src/gns/gnunet-gns-benchmark.c @@ -237,6 +237,7 @@ process_queue (void *cls) struct GNUNET_TIME_Relative duration; (void) cls; + t = NULL; /* check for expired requests */ while (NULL != (req = act_head)) { @@ -344,11 +345,11 @@ do_shutdown (void *cls) fprintf (stdout, "Category %u\n", rc); - latency_sum[off] = GNUNET_TIME_relative_divide (latency_sum[off], - replies[rc]); + latency_sum[rc] = GNUNET_TIME_relative_divide (latency_sum[rc], + replies[rc]); fprintf (stdout, "\taverage: %s\n", - GNUNET_STRINGS_relative_time_to_string (latency_sum[off], + GNUNET_STRINGS_relative_time_to_string (latency_sum[rc], GNUNET_YES)); off = rp[rc] * 50 / 100; fprintf (stdout, |