diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-04 21:01:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-04 21:01:22 +0000 |
commit | 0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf (patch) | |
tree | ac53b9088e75b7041e14e3455698a75da085b3d7 /src/mesh/test_mesh_tree_api.c | |
parent | b6d09b511fbd61d3b36fde4c28624bed321bf4a1 (diff) | |
download | gnunet-0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf.tar.gz gnunet-0e4c7cdccfc4105f9c6e529cfa0e3722104b0ddf.zip |
-misc bugfixes, travel hacking
Diffstat (limited to 'src/mesh/test_mesh_tree_api.c')
-rw-r--r-- | src/mesh/test_mesh_tree_api.c | 14 |
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 | 38 | static int failed; |
39 | 39 | static int cb_call; | |
40 | int failed; | 40 | static struct GNUNET_PeerIdentity *pi[10]; |
41 | int cb_call; | 41 | static struct MeshTunnelTree *tree; |
42 | struct GNUNET_PeerIdentity *pi[10]; | ||
43 | struct MeshTunnelTree *tree; | ||
44 | 42 | ||
45 | static void | 43 | static void |
46 | cb (void *cls, GNUNET_PEER_Id peer_id) | 44 | cb (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 | { |