aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/test_mesh_tree_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/test_mesh_tree_api.c')
-rw-r--r--src/mesh/test_mesh_tree_api.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/mesh/test_mesh_tree_api.c b/src/mesh/test_mesh_tree_api.c
index 1d43135e4..60b88239c 100644
--- a/src/mesh/test_mesh_tree_api.c
+++ b/src/mesh/test_mesh_tree_api.c
@@ -35,12 +35,10 @@
35#define MESH_TUNNEL_TREE_C 35#define MESH_TUNNEL_TREE_C
36#endif 36#endif
37 37
38#define VERBOSE 1 38static int failed;
39 39static int cb_call;
40int failed; 40static struct GNUNET_PeerIdentity *pi[10];
41int cb_call; 41static struct MeshTunnelTree *tree;
42struct GNUNET_PeerIdentity *pi[10];
43struct MeshTunnelTree *tree;
44 42
45static void 43static void
46cb (void *cls, GNUNET_PEER_Id peer_id) 44cb (void *cls, GNUNET_PEER_Id peer_id)
@@ -155,11 +153,7 @@ main (int argc, char *argv[])
155 failed = 0; 153 failed = 0;
156 cb_call = 0; 154 cb_call = 0;
157 GNUNET_log_setup ("test_mesh_api_tree", 155 GNUNET_log_setup ("test_mesh_api_tree",
158#if VERBOSE
159 "DEBUG",
160#else
161 "WARNING", 156 "WARNING",
162#endif
163 NULL); 157 NULL);
164 for (i = 0; i < 10; i++) 158 for (i = 0; i < 10; i++)
165 { 159 {