[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: eliminating dead cth field
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: eliminating dead cth field |
Date: |
Tue, 10 Jan 2017 17:35:52 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 06c0c503a eliminating dead cth field
06c0c503a is described below
commit 06c0c503acd9d523d4d18eeac862222a744db2ab
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Jan 10 17:35:49 2017 +0100
eliminating dead cth field
---
src/ats-tests/ats-testing.c | 18 +-----------------
src/ats-tests/ats-testing.h | 15 +++++----------
2 files changed, 6 insertions(+), 27 deletions(-)
diff --git a/src/ats-tests/ats-testing.c b/src/ats-tests/ats-testing.c
index 3d2fc2c98..1bcef5806 100644
--- a/src/ats-tests/ats-testing.c
+++ b/src/ats-tests/ats-testing.c
@@ -1,6 +1,6 @@
/*
This file is part of GNUnet.
- Copyright (C) 2010-2013, 2016 GNUnet e.V.
+ Copyright (C) 2010-2013, 2016, 2017 GNUnet e.V.
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
@@ -88,10 +88,6 @@ do_shutdown (void *cls)
for (c_op = 0; c_op < p->num_partners; c_op++)
{
- if (NULL != p->partners[c_op].cth)
- {
- p->partners[c_op].cth = NULL;
- }
if ( (NULL != p->core_connect_ops) &&
(NULL != p->core_connect_ops[c_op].connect_op) )
{
@@ -127,14 +123,6 @@ do_shutdown (void *cls)
GNUNET_TESTBED_operation_done (p->peer_id_op);
p->peer_id_op = NULL;
}
-
- for (c_op = 0; c_op < p->num_partners; c_op++)
- {
- if (NULL != p->partners[c_op].cth)
- {
- p->partners[c_op].cth = NULL;
- }
- }
if (NULL != p->ats_perf_op)
{
GNUNET_TESTBED_operation_done (p->ats_perf_op);
@@ -312,10 +300,6 @@ comm_disconnect_cb (void *cls,
"%s disconnected from %s while benchmarking\n",
id,
GNUNET_i2s (peer));
- if (NULL != p->cth)
- {
- p->cth = NULL;
- }
}
GNUNET_free(id);
}
diff --git a/src/ats-tests/ats-testing.h b/src/ats-tests/ats-testing.h
index de189953e..32f0b02d8 100644
--- a/src/ats-tests/ats-testing.h
+++ b/src/ats-tests/ats-testing.h
@@ -285,11 +285,6 @@ struct BenchmarkPartner
struct BenchmarkPeer *dest;
/**
- * Core transmit handles
- */
- struct GNUNET_CORE_TransmitHandle *cth;
-
- /**
* Message queue handle.
*/
struct GNUNET_MQ_Handle *mq;
@@ -335,27 +330,27 @@ struct BenchmarkPartner
unsigned int bytes_received;
/**
- * Current ATS properties
+ * Current ATS properties
*/
struct GNUNET_ATS_Properties props;
/**
- * Bandwidth assigned inbound
+ * Bandwidth assigned inbound
*/
uint32_t bandwidth_in;
/**
- * Bandwidth assigned outbound
+ * Bandwidth assigned outbound
*/
uint32_t bandwidth_out;
/**
- * Current preference values for bandwidth
+ * Current preference values for bandwidth
*/
double pref_bandwidth;
/**
- * Current preference values for delay
+ * Current preference values for delay
*/
double pref_delay;
--
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: eliminating dead cth field,
gnunet <=