aboutsummaryrefslogtreecommitdiff
path: root/src/testbed
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-24 14:48:36 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-24 14:48:36 +0000
commitb479dddcac56ec8352b8730470ed6cdaf4b929c5 (patch)
tree9cf9d1832a0d02c6b6734f384fcdca7959e77972 /src/testbed
parent389e0afa4cabf4c9ed980ef7021beca067a53498 (diff)
downloadgnunet-b479dddcac56ec8352b8730470ed6cdaf4b929c5.tar.gz
gnunet-b479dddcac56ec8352b8730470ed6cdaf4b929c5.zip
-remove trailing whitespace
Diffstat (limited to 'src/testbed')
-rw-r--r--src/testbed/gnunet-service-testbed_cache.c2
-rw-r--r--src/testbed/gnunet-service-testbed_connectionpool.c2
-rw-r--r--src/testbed/gnunet-testbed-profiler.c2
-rw-r--r--src/testbed/testbed.h4
-rw-r--r--src/testbed/testbed_api_underlay.c8
5 files changed, 9 insertions, 9 deletions
diff --git a/src/testbed/gnunet-service-testbed_cache.c b/src/testbed/gnunet-service-testbed_cache.c
index 7f2a35a7d..070aeefa5 100644
--- a/src/testbed/gnunet-service-testbed_cache.c
+++ b/src/testbed/gnunet-service-testbed_cache.c
@@ -121,7 +121,7 @@ static struct CacheEntry *
121add_entry (unsigned int peer_id) 121add_entry (unsigned int peer_id)
122{ 122{
123 struct CacheEntry *entry; 123 struct CacheEntry *entry;
124 124
125 GNUNET_assert (NULL != cache); 125 GNUNET_assert (NULL != cache);
126 if (cache_size == GNUNET_CONTAINER_multihashmap32_size (cache)) 126 if (cache_size == GNUNET_CONTAINER_multihashmap32_size (cache))
127 { 127 {
diff --git a/src/testbed/gnunet-service-testbed_connectionpool.c b/src/testbed/gnunet-service-testbed_connectionpool.c
index 0df5c300c..6d9a27972 100644
--- a/src/testbed/gnunet-service-testbed_connectionpool.c
+++ b/src/testbed/gnunet-service-testbed_connectionpool.c
@@ -895,7 +895,7 @@ GST_connection_pool_get_handle_done (struct GST_ConnectionPool_GetHandle *gh)
895 } 895 }
896 } 896 }
897 if (gh->notify_waiting) 897 if (gh->notify_waiting)
898 { 898 {
899 GNUNET_CONTAINER_DLL_remove (entry->head_notify, entry->tail_notify, gh); 899 GNUNET_CONTAINER_DLL_remove (entry->head_notify, entry->tail_notify, gh);
900 gh->notify_waiting = 0; 900 gh->notify_waiting = 0;
901 } 901 }
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c
index f5d7599c3..17f1d6ba9 100644
--- a/src/testbed/gnunet-testbed-profiler.c
+++ b/src/testbed/gnunet-testbed-profiler.c
@@ -230,7 +230,7 @@ test_run (void *cls,
230 result = GNUNET_OK; 230 result = GNUNET_OK;
231 fprintf (stdout, "\n"); 231 fprintf (stdout, "\n");
232 print_overlay_links_summary (); 232 print_overlay_links_summary ();
233 if (noninteractive) 233 if (noninteractive)
234 { 234 {
235 GNUNET_SCHEDULER_cancel (abort_task); 235 GNUNET_SCHEDULER_cancel (abort_task);
236 abort_task = GNUNET_SCHEDULER_NO_TASK; 236 abort_task = GNUNET_SCHEDULER_NO_TASK;
diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h
index 107e1c5bb..6f6a3f31e 100644
--- a/src/testbed/testbed.h
+++ b/src/testbed/testbed.h
@@ -790,7 +790,7 @@ struct GNUNET_TESTBED_UnderlayLinkModelMsg
790 * The number of link properties contained in this message 790 * The number of link properties contained in this message
791 */ 791 */
792 uint32_t nprops GNUNET_PACKED; 792 uint32_t nprops GNUNET_PACKED;
793 793
794 /** 794 /**
795 * Array of ids of peers to be in the blacklist/whitelist. Each id is of type 795 * Array of ids of peers to be in the blacklist/whitelist. Each id is of type
796 * uint32_t. Number of ids should be equal to nentries. 796 * uint32_t. Number of ids should be equal to nentries.
@@ -801,7 +801,7 @@ struct GNUNET_TESTBED_UnderlayLinkModelMsg
801 * sequence of four integers of type uint32_t: peer_id, latency, loss and 801 * sequence of four integers of type uint32_t: peer_id, latency, loss and
802 * bandwidth. 802 * bandwidth.
803 */ 803 */
804 804
805}; 805};
806 806
807 807
diff --git a/src/testbed/testbed_api_underlay.c b/src/testbed/testbed_api_underlay.c
index a1c90ac6e..0f90d0360 100644
--- a/src/testbed/testbed_api_underlay.c
+++ b/src/testbed/testbed_api_underlay.c
@@ -21,7 +21,7 @@
21/** 21/**
22 * @file testbed/testbed_api_underlay.c 22 * @file testbed/testbed_api_underlay.c
23 * @brief testbed underlay API implementation 23 * @brief testbed underlay API implementation
24 * @author Sree Harsha Totakura <sreeharsha@totakura.in> 24 * @author Sree Harsha Totakura <sreeharsha@totakura.in>
25 */ 25 */
26 26
27#include "testbed_api_peers.h" 27#include "testbed_api_peers.h"
@@ -46,7 +46,7 @@ struct LinkProperty
46 * latency of the link in microseconds 46 * latency of the link in microseconds
47 */ 47 */
48 uint32_t latency; 48 uint32_t latency;
49 49
50 /** 50 /**
51 * data loss on the link expressed as percentage 51 * data loss on the link expressed as percentage
52 */ 52 */
@@ -154,7 +154,7 @@ GNUNET_TESTBED_underlaylinkmodel_create (struct GNUNET_TESTBED_Peer *peer,
154 enum GNUNET_TESTBED_UnderlayLinkModelType type) 154 enum GNUNET_TESTBED_UnderlayLinkModelType type)
155{ 155{
156 struct GNUNET_TESTBED_UnderlayLinkModel *m; 156 struct GNUNET_TESTBED_UnderlayLinkModel *m;
157 157
158 GNUNET_assert (0 == peer->underlay_model_exists); 158 GNUNET_assert (0 == peer->underlay_model_exists);
159 m = GNUNET_new (struct GNUNET_TESTBED_UnderlayLinkModel); 159 m = GNUNET_new (struct GNUNET_TESTBED_UnderlayLinkModel);
160 peer->underlay_model_exists = 1; 160 peer->underlay_model_exists = 1;
@@ -188,7 +188,7 @@ GNUNET_TESTBED_underlaylinkmodel_add_peer (struct GNUNET_TESTBED_UnderlayLinkMod
188/** 188/**
189 * Set the metrics for a link to the given peer in the underlay model. The link 189 * Set the metrics for a link to the given peer in the underlay model. The link
190 * SHOULD be permittable according to the given model. 190 * SHOULD be permittable according to the given model.
191 * 191 *
192 * @ingroup underlay 192 * @ingroup underlay
193 * @param model the model 193 * @param model the model
194 * @param peer the other end peer of the link 194 * @param peer the other end peer of the link